Skip to main content

Passwordless Login

The Passwordless Login extension enables organisations to offer passwordless login using digital credentials presented from an EUDI Wallet. It integrates with existing OpenID Connect (OIDC) identity management systems.

How it works​

  1. The organisation enables the Passwordless Login extension from the dashboard.
  2. An administrator creates one or more OIDC clients, each configured with a presentation definition, redirect URIs, and either identity matching attributes or a callback URI.
  3. When a user initiates login, they are redirected to the OIDC authorisation endpoint, which shows a QR code.
  4. The user presents the requested credential from their EUDI Wallet.
  5. The system verifies the credential and redirects the user back to the application with an authorisation code.
  6. The application exchanges the code for tokens. The system identifies the user with the configured identity matching attributes or callback URI.

Passwordless sign-in to the dashboard itself works the same way, using a single credential: the Authenticator that the wallet provider issues to organisation admins. An admin first gets the Authenticator from Account > Manage User and can then use it to sign in. The PID cannot be used as a login credential, either for the dashboard or for the clients of this extension.

Signing key: In the organisation that provides the passwordless sign-in to the dashboard (the platform operator organisation, unless the installation names another wallet provider organisation for it), the enable creates the login definitions (in the main organisation or in the sandbox organisation where you enable it), so the extension needs a signing key (`signingKeyId`, an X.509 key with a certificate chain) and waits in the status `awaitingKey` until it has one. The key issues the Authenticators that organisation admins sign in to the dashboard with, and signs the requests of the dashboard sign-in. Each OpenID Connect client has its own key, chosen in the client form. In every other organisation, the extension takes no signing key and is enabled immediately.

OIDC discovery endpoints​

Once the extension is enabled, the following OpenID Connect endpoints are available. All paths start with /v4/service/platform/extension/oidc/{organisationId}.

EndpointPathDescription
Well-Known OIDC/.well-known/openid-configurationOIDC discovery document
Well-Known JWKS/.well-known/jwks.jsonOIDC JWKS document
Authorization Endpoint/authRedirects users to present credentials from their wallet
Token Endpoint/tokenSecure server-to-server token exchange
User Info Endpoint/userinfoReturns the sub of the user and the presented credentials

OIDC client configuration​

Each OIDC client connects to your Identity Provider and defines how credential-based login is handled.

Client fields​

FieldRequiredDescription
NameYesA descriptive name for the client
Presentation DefinitionYesThe credentials to verify during login. See Presentation definition for the three ways to set it.
ActionConditionalThe login text that the EUDI Wallet may show to the user. Required when the presentation definition has Passwordless Login transaction data, otherwise not available.
Redirect URIsNoURLs where users are redirected after login. The redirect URI of a login request must match one of them exactly.
Web OriginsNoThe web origins of your application.
Identity Matching AttributesOne of the twoA map of credential identifiers to claim paths used as linking values for identity matching. Each key identifies a credential, and the value is the dot-separated path to the claim within that credential to use as the linking value. This is the recommended way to configure identity matching.
Callback URIOne of the twoEndpoint for complex identity matching scenarios. Use an HTTPS endpoint. When set, the endpoint receives the credential presentation and returns the sub claim. Use this when you need custom logic beyond what Identity Matching Attributes can provide.
Callback SecretConditionalHMAC-SHA256 secret used to sign callback payloads. Required when Callback URI is set.
Trusted issuersNo, but recommendedFor each credential, the trust anchors of the issuers whose credentials can sign a user in. See Trusted issuers.

Configure either Identity Matching Attributes or Callback URI, not both.

Presentation definition​

In the dashboard there are three ways to set the Presentation Definition:

WayWhat it does
CredentialsPick one or more credentials, for example the Authenticator. A new presentation definition is created from them when you save. The user logs in with any one of them. The PID is not in the list, because the PID Rulebook does not allow a PID to be used for the transaction data of a login.
Existing presentation definitionsSelect a presentation definition you already created. No new one is created.
Create new presentation definitionBuild your own. It is created when you save.

A presentation definition can be used by one client only.

Identity matching attributes​

Identity Matching Attributes allow you to configure which claims from presented credentials should be used as linking values for identity matching. It is specified as a map with one entry for each credential of the presentation definition. Each key identifies the credential: the VCT (SD-JWT), the document type (ISO mdoc) or the type (W3C VC). The value is the dot-separated path to the claim within that credential to use as the linking value.

For example, if your presentation definition asks for the Authenticator with VCT io.igrant.authenticator and the claim email_address, you could configure:

{
"io.igrant.authenticator": "email_address"
}

This tells the system to use the email_address claim from the Authenticator for identity matching.

Trusted issuers​

A client signs a user in with a claim of the presented credential, for example the email_address of the Authenticator. Without a trust rule, a credential from any issuer with the same claim value signs that user in. Require a trusted credential signer, so that only the credentials of the issuers that you trust can sign a user in:

  1. Get the certificate of the issuer of the credential, in PEM: the certificate of its signing key, or the CA certificate that issued it. When your organisation issues the Authenticator, open its credential definition, and in the card Signing keys copy the first certificate of the chain of the credential signing key (the certificate of the key itself).
  2. Add a trust anchor. Go to Issuer & Verifier > Trust Anchors and add a trust anchor of kind X.509 certificates with this certificate. Set Used as to the role of the issuer, for example EAA provider. See CA certificates and signer certificates.
  3. Require it in the client. In the client form, in the card Trusted issuers, turn on Require a trusted credential signer for the credential, and select the trust anchor in the list under it. For a new client, the switch is on by default.
  4. Click SAVE.

A credential of another issuer then fails with PRES_CREDENTIAL_SIGNER_NOT_TRUSTED, and the user is not signed in.

With the API, set the same rule in the presentation definition of the client, in the options of each credential query (Update presentation definition). For a credential query with the id Authenticator:

{
"credentialQueryOptions": {
"Authenticator": {
"requiresTrustedCredentialSigner": true,
"acceptedCredentialSigners": ["4b7e2f10-8c3d-4a5e-9f61-2d0c7b9a1e35"]
}
}
}

acceptedCredentialSigners holds the IDs of the trust anchors. See Trust When Verifying.

The passwordless sign-in to the dashboard has this rule already: it accepts only the Authenticators that are signed with the signing key of this extension. The platform keeps a trust anchor with the certificate of that key, with the System tag, and changes it when the key changes.

Transaction data and action field​

If the chosen presentation definition has Passwordless Login transaction data, the Action field passes a free-text value (e.g., "Log in to your online bank account") that is included in the transaction data sent to the EUDI Wallet. The wallet may use this value to display a custom UI to the user during the credential presentation (for example, showing a contextual message about what the login is for).

Callback endpoint requirements​

For most use cases, Identity Matching Attributes are sufficient. If you have more complex requirements for identity matching (e.g., custom logic, transformations, or external lookups), you can configure a Callback URI instead. When a Callback URI is configured, the endpoint must:

  • Accept POST requests with a JSON body containing the credential presentation payload.
  • Verify the X-iGrant-Signature HMAC-SHA256 header to authenticate the request. See Webhook Security for details on how to decode and verify the signature.
  • Return HTTP 200 with a JSON response containing the sub (subject identifier) claim that maps the presented credential to a user in your IdP. This allows you to decide which field from the presentation (e.g., email) to use as the user identifier.

Client management​

From the dashboard, administrators can:

  • Create new OIDC clients
  • View and copy client credentials (Client ID and Client Secret)
  • Edit client configuration
  • Delete clients (with confirmation)
  • View the associated presentation definition

API endpoints:

Integration guide​

For a step-by-step guide on configuring an IdP (Keycloak, Auth0, Ping Identity, etc.) as a relying party with this extension, including Identity Provider setup, custom authentication flows, and a sample React implementation, see the Passwordless Login with EUDI Wallets guide.

Caution: Disabling the Passwordless Login extension deletes all OIDC clients and their configuration. In the platform operator organisation, it also revokes every Authenticator issued for the dashboard sign-in, removes the wallet login of every admin and ends the sessions of those admins. This action is not reversible.