Sign in with BankID
BankID direct API access is restricted to licensed providers; integration goes through an OIDC broker. Configures as a generic OIDC provider. Reference: ory/integrates/government-identity/bankid.
BankID is the high-assurance electronic identity used in Sweden and Norway, providing eIDAS Substantial and High assurance. It is the de-facto authentication method for banking, public services, and healthcare in those markets.
Integration path
Use a broker that exposes BankID as standard OIDC, then configure it as a generic OIDC provider in Ory Identities.
Common brokers are Criipto, Signicat, and Nets.
Set up
- Pick a broker, create an OIDC application, and enable Swedish or Norwegian BankID.
- Set the Ory redirect URI as the broker's callback.
- Configure the broker as a generic OIDC provider in Ory Identities with its
issuer_url, client ID, and secret. Request theopenidandprofilescopes plus the broker-specific personal-number scope (for examplessn). - Use Jsonnet to map the personal number, name, and country.
Personal numbers are sensitive PII, so consider storing them in metadata_admin rather than metadata_public. BankID satisfies
PSD2 SCA.
