Nexiel Login quickstart

Nexiel Login is Sign in with EUDI Wallet, packaged as a standard OpenID Connect identity provider. Your own Keycloak, Auth0, or Okta broker adds Nexiel as one more login connection, the same motion as adding Google or Microsoft. It never speaks OpenID4VP or DCQL itself. Nexiel runs the wallet exchange internally, using the same Verify API engine every other Nexiel Verify check already runs, and hands your broker back an ordinary signed id_token.

Status. You create Login connections on the dashboard's Login connections page: test connections at any time, live connections once your business is verified. Test connections work end to end today, through the test issuer, with the sandbox wallet and test credentials. A live sign-in needs three things beyond your connection. First, "authentication / account login for third-party services" registered as a relying party intended use under Commission Implementing Regulation (EU) 2025/848. That registration is not in place yet (see relying party registration). Second, a trusted issuer for the wallet's PID: the Commission list of PID providers, or an OpenID Federation ecosystem your trust policy accepts. Without one, the wallet leg fails closed, as it does for every PID-based check. Third, the live issuer's signing key: until it is configured, every live issuer route returns 409 login_not_configured. The test issuer does not depend on it.

New to EUDI wallets? Read what an EU Digital Identity Wallet is, and how a session works before this page assumes you already know what OpenID4VP, DCQL, and SD-JWT VC mean.

What this is, and what this is not

This is not a new identity-verification engine. It is Nexiel Verify's existing OpenID4VP/DCQL engine, wearing a different front door: a dedicated login-authentication check that requests only the PID's birth date (from an SD-JWT VC PID or an ISO/IEC 18013-5 mdoc PID), the smallest claim set a request can carry, and never a name. The point of this check is proving a wallet answered, not learning who is behind it. Recognizing the same person on a later login does not come from that claim either: it comes from the wallet presentation's own holder key-binding public key (the SD-JWT VC key or the mdoc device key), a value that is cryptographically verified on every completed check and is not personal data at all. The two PID formats carry different keys, so a person who signs in with each gets a different subject for each.

This is also not the drop-in Verify widget (coming to npm) for a one-off Nexiel Age or Nexiel Verify AML identity check. That widget has no reason to remember a returning visitor. A login flow does, so Nexiel Login is a hosted redirect page instead, matching how Auth0's own Universal Login and Keycloak's own /realms/{realm}/protocol/openid-connect/auth both work: your broker redirects the browser to Nexiel, Nexiel redirects it back once the wallet check completes.

A secondary, embeddable "Sign in with EUDI Wallet" button for sites with no OIDC broker of their own is not built in this release. Every customer today integrates Nexiel Login as the hosted redirect above, through an OIDC broker.

Prerequisite: a registered connection

Create a connection on the dashboard's Login connections page with a name and the exact redirect URI(s) your broker will use (an exact-match allowlist, never a wildcard). You receive a client_id and client_secret pair, shown once, like every other Nexiel credential. A test connection needs no business verification. A live connection is live API access, so it needs the same approved business verification (KYB) as every other live Nexiel credential (see going live).

Test and live issuers

Nexiel Login has one OpenID Connect issuer per connection mode, the same split as test and live API keys. Configure your broker with the issuer of the connection you created:

  • Live connections: https://compliance.nexiel.io/v1/login, discovery document at https://compliance.nexiel.io/v1/login/.well-known/openid-configuration.
  • Test connections: https://compliance.nexiel.io/v1/login/test, discovery document at https://compliance.nexiel.io/v1/login/test/.well-known/openid-configuration. Sign-ins run in test mode with the sandbox wallet and test credentials, and are never billed.

The two issuers are separate. Each has its own signing keys (its jwks_uri lists only that issuer's keys), its own authorize, token, logout and session revocation endpoints, and its own session cookies. An id_token from the test issuer never verifies against the live keys, and a live id_token never verifies against the test keys. A connection only works at its own mode's issuer: the other issuer shows an error page at authorize, never redirecting, and answers 401 invalid_client at token and revocation, with an error_description naming the right issuer. The dashboard shows the issuer, discovery URL and JWKS URL on each connection, with settings ready to copy for Keycloak, Auth0 and Okta. The examples below use the live issuer. For a test connection, put /v1/login/test in place of /v1/login.

The discovery document

Every endpoint below is also published as a standard OpenID Connect Discovery 1.0 document, the one input most identity providers, including Keycloak, need to configure everything else automatically. The test issuer publishes the same document at /v1/login/test/.well-known/openid-configuration, with every URL under /v1/login/test:

curl -s https://compliance.nexiel.io/v1/login/.well-known/openid-configuration
{
  "issuer": "https://compliance.nexiel.io/v1/login",
  "authorization_endpoint": "https://compliance.nexiel.io/v1/login/authorize",
  "token_endpoint": "https://compliance.nexiel.io/v1/login/token",
  "jwks_uri": "https://compliance.nexiel.io/v1/login/.well-known/jwks.json",
  "response_types_supported": [
    "code"
  ],
  "subject_types_supported": [
    "pairwise"
  ],
  "id_token_signing_alg_values_supported": [
    "ES256"
  ],
  "scopes_supported": [
    "openid"
  ],
  "token_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "code_challenge_methods_supported": [
    "S256"
  ],
  "claims_supported": [
    "sub",
    "sid"
  ],
  "grant_types_supported": [
    "authorization_code"
  ],
  "end_session_endpoint": "https://compliance.nexiel.io/v1/login/logout",
  "backchannel_logout_supported": true,
  "backchannel_logout_session_supported": true
}

The issuer is https://compliance.nexiel.io/v1/login, not the bare compliance.nexiel.io origin: OpenID Connect Discovery 1.0 forms the discovery URL by appending /.well-known/openid-configuration to the full issuer URL, so this path is the spec-correct location for an issuer with its own path segment, namespaced under Login's own routes alongside Verify API's and Credentials API's well-known documents on the same host. There is no userinfo_endpoint: the id_token below already carries everything Nexiel Login issues.

Adding Nexiel as an OpenID Connect identity provider in Keycloak

This is the whole integration on your side. Keycloak never learns about OpenID4VP, DCQL, or any wallet-specific concept. It only ever sees Nexiel as one more OIDC identity provider, the same way it already treats Google or Microsoft as one:

  1. In the Keycloak admin console, go to Identity Providers → Add provider → OpenID Connect v1.0. Give it an alias, for example nexiel-login. Keycloak generates a redirect URI from that alias, shown on the same form (it looks like https://auth.example.com/realms/{realm}/broker/nexiel-login/endpoint), and this is the exact value that must be added to your connection's registered redirect URI allowlist.
  2. Populate the endpoint fields. The simplest way: toggle Use discovery endpoint on and paste https://compliance.nexiel.io/v1/login/.well-known/openid-configuration from the previous section (for a test connection, https://compliance.nexiel.io/v1/login/test/.well-known/openid-configuration). Keycloak fetches it and fills in the rest. If your identity provider does not support discovery, enter each field by hand from that same document: Authorization URL, Token URL, and JWKS URL as shown above, and set Issuer to https://compliance.nexiel.io/v1/login (or https://compliance.nexiel.io/v1/login/test) exactly, since a signed id_token is rejected by a strict verifier if its iss claim does not match.
  3. Set Client Authentication to "Client secret sent as basic auth" (client_secret_basic), and enter the client_id/client_secret pair from the previous section.
  4. Enable Use PKCE, method S256. Nexiel Login's /authorize endpoint rejects any request that omits a code_challenge, or that sets code_challenge_method to anything other than S256.
  5. Leave the default scope as openid. Nexiel Login's id_token carries no profile claims beyond sub, so there is nothing a wider scope would add.
  6. Keycloak's stock "First Broker Login" flow keys off the federated identity's email address by default, and Nexiel Login's id_token has no email claim at all, by design. Add an IdP Mapper of type "Username Template Importer" on this provider to synthesize a local username from the federated alias and sub (for example login-{ALIAS}-{CLAIM.sub}), or bind a narrower first-broker-login flow that skips the email-required review step, before you rely on this in a real realm.

Any other broker that speaks plain OpenID Connect, Auth0 and Okta included, follows the same shape: add Nexiel as a connection, point it at your connection's issuer or its discovery document, and configure S256 PKCE with client_secret_basic authentication. In Auth0 that is an enterprise OpenID Connect connection with the back-channel type. In Okta it is an OpenID Connect identity provider with client secret authentication. The dashboard lists the exact values for both.

What happens when someone signs in

Once configured, your broker redirects the browser to GET /v1/login/authorize with the standard OAuth 2.0 Authorization Code parameters: response_type=code, your client_id, a registered redirect_uri, scope=openid, a state, a nonce, and a PKCE code_challenge/code_challenge_method=S256 pair your broker generated. This route returns human-facing HTML directly, matching Keycloak's own authorization endpoint shape, never a JSON API: a QR code built from a wallet authorization request, plus a "Continue with your wallet" button when the browser supports the Digital Credentials API, which reaches the wallet through the browser itself. The page's own script polls an unguessable, unauthenticated status route (GET /v1/login/authorize/{authorizationRequestId}/status) and, once the wallet completes, navigates the browser straight back to your redirect_uri with a single-use code and the original state attached.

An unresolvable client_id or a redirect_uri outside your registered allowlist renders a static error page rather than redirecting anywhere, the standard defense against an open redirect. Every other validation failure, an unsupported response_type, a missing PKCE challenge, and so on, redirects back to your (already-trusted) redirect_uri with ?error=...&error_description=...&state=... per RFC 6749, the same shape every OIDC broker already knows how to parse.

Token exchange

Your broker calls this server-to-server, immediately after the redirect, with the code_verifier matching the code_challenge it sent at /authorize:

curl -s -X POST https://compliance.nexiel.io/v1/login/token \
  -u "<client_id>:<client_secret>" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d grant_type=authorization_code \
  -d code=<code> \
  -d redirect_uri=<redirect_uri> \
  -d code_verifier=<code_verifier>
200 response
{
  "access_token": "C6mE1z3q0J8v...",
  "token_type": "Bearer",
  "expires_in": 600,
  "id_token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjIwMjYtMDgtcHJpbWFyeSJ9..."
}

client_secret_post works too: send client_id and client_secret as body fields instead of the Authorization header. The code is single-use and expires in 60 seconds. A second exchange attempt, or one after that window, returns invalid_grant. access_token is a bearer opaque to Nexiel Login itself. There is no /userinfo route it can be used against, since no Nexiel Login route returns any claim beyond what the id_token already carries.

The id_token

A compact-serialized ES256 JWT, verifiable against its issuer's keys: GET /v1/login/.well-known/jwks.json for a live connection, GET /v1/login/test/.well-known/jwks.json for a test one. Its decoded payload, from the live issuer (a test id_token carries iss: https://compliance.nexiel.io/v1/login/test):

{
  "iss": "https://compliance.nexiel.io/v1/login",
  "sub": "1b2f9e2f-8f42-4b8a-9b1e-1a11a2b3c4d5",
  "aud": "5c9b8e2f-3f9a-4b7a-9c33-6f7e8d9c0b1a",
  "iat": 1755000000,
  "exp": 1755000600,
  "nonce": "n-0S6_WzA2Mj",
  "sid": "8d1c0e55-47a1-4f6c-8f0b-3c7a9b5e2d10"
}

sub is a pairwise identifier, stable across repeat logins for the same (connection, wallet holder) pair and different for every other connection, so one wallet holder cannot be trivially correlated across two different Nexiel Login customers by comparing raw sub values. It is derived from the wallet presentation's own holder key-binding public key, never from a disclosed claim: there is no name, birthdate, or nationality anywhere in this token, or in Nexiel's own record of the login, by construction. One limitation: the EUDI wallet ecosystem's own credential-batch-issuance model exists specifically to prevent this kind of correlation, so a privacy-conscious wallet may present a different key on a later presentation of the same underlying identity. If that happens, Nexiel Login does not fail. It simply does not recognize the return and falls back to a fresh first-login round trip. aud is your client_id. sid names the Nexiel Login session this token belongs to. Keep it, because logout and revocation refer to it. jwks.json publishes every currently-active and recently-rotated key, so a token signed just before a rotation stays verifiable through the overlap window.

Returning logins: skipping the wallet round trip

The first time someone completes a wallet check for your connection, Nexiel sets an HttpOnly, SameSite=Lax session cookie scoped to the issuer's own path (/v1/login for a live connection, /v1/login/test for a test one, so test and live sessions never mix), valid for 12 hours from that check. There is one cookie per connection (named after your client_id), so a browser signed in to several connections keeps all of those sessions, and signing out of one leaves the others alone. The next time the same browser is sent to the issuer's authorize endpoint for the same connection, and the cookie is still valid, Nexiel Login recognizes it, mints a fresh authorization code immediately, and responds with a redirect straight back to your redirect_uri, no QR page, no wallet interaction at all. Every other OAuth 2.0 requirement in the request, PKCE, state, nonce, is still fully enforced regardless. Only the wallet leg is ever skipped. A cookie that does not recognize a returning login (missing, expired, or issued for a different connection) is treated exactly like no cookie at all, falling through to a full wallet round trip. A session that has been ended (see the next section) is treated the same way, immediately.

Nexiel Login's own returning-login recognition is a near-term stand-in for the EU wallet ecosystem's own forthcoming pseudonym mechanism (a WebAuthn credential the wallet itself would act as authenticator for), which is still unfinalized upstream. Migrating to that mechanism, once it ships, will not change what your broker integrates against.

Logging out and revoking sessions

A session ends when its 12 hours are up, or sooner in any of three ways. Each one makes the returning-login shortcut stop working for that session at once, and each one notifies your application if you ask it to.

1. RP-Initiated Logout

Built to OpenID Connect RP-Initiated Logout 1.0. Send the user's browser to the end_session_endpoint from the discovery document (GET or form POST) with:

  • id_token_hint: an id_token Nexiel Login issued to you. Its signature and issuer are checked, and an expired token is still accepted, so logout works after the 10-minute token lifetime. It ends the session named by its sid. With a valid hint for the session the browser currently holds, the user is signed out straight away. Without a hint, or when the browser holds a different Nexiel Login session than the hint names, Nexiel Login asks the user to confirm first.
  • post_logout_redirect_uri: where to send the browser afterwards. It must exactly match one of the post-logout redirect URIs registered for your connection. A request with any other value, or with a URI and no way to tell which connection it belongs to, is rejected with an error page and signs nobody out. The browser is never sent to an unregistered address.
  • state: returned to you on the redirect. client_id is optional, and must match the token's audience when sent with a hint.
https://compliance.nexiel.io/v1/login/logout?id_token_hint=<id_token>&post_logout_redirect_uri=https%3A%2F%2Fapp.example.com%2Fsigned-out&state=<state>

2. Revoke from your server

Authenticate with your connection's client_id and client_secret, exactly as at the token endpoint, and pass exactly one of sid (one session) or sub (every live session of that user on your connection). You can only end your own connection's sessions. Repeating the call is safe and returns 0.

curl -s -X POST https://compliance.nexiel.io/v1/login/sessions/revoke \
  -u "<client_id>:<client_secret>" \
  -H "Content-Type: application/json" \
  -d '{"sid": "8d1c0e55-47a1-4f6c-8f0b-3c7a9b5e2d10"}'
200 response
{
  "revoked_sessions": 1
}

Authorization codes issued before the revocation can no longer be exchanged for an id_token. Nexiel staff can also end sessions of your connection on request.

3. Back-Channel Logout

Built to OpenID Connect Back-Channel Logout 1.0. Ask Nexiel onboarding to register a backchannel_logout_uri (an https:// address on the public internet) and your post-logout redirect URIs when your connection is set up. Whenever a session of yours ends, by any route above, Nexiel posts an application/x-www-form-urlencoded body with a logout_token field to that address. The token is an ES256 JWT with header typ: logout+jwt, signed by your connection's issuer with the same key as its id_tokens, carrying iss, aud (your client_id), iat, exp (two minutes later), jti, sub, sid and an events claim, and never a nonce:

{
  "iss": "https://compliance.nexiel.io/v1/login",
  "sub": "1b2f9e2f-8f42-4b8a-9b1e-1a11a2b3c4d5",
  "aud": "5c9b8e2f-3f9a-4b7a-9c33-6f7e8d9c0b1a",
  "iat": 1755000300,
  "exp": 1755000420,
  "jti": "c2a6d2f0-5a62-4a8e-9a43-0c3a6a4f9d11",
  "sid": "8d1c0e55-47a1-4f6c-8f0b-3c7a9b5e2d10",
  "events": {
    "http://schemas.openid.net/event/backchannel-logout": {}
  }
}

Verify it as the specification describes: signature against the JWKS, then iss, aud, iat, exp, the events member, a sub or sid, and no nonce. End your local session for that sid, then answer 200 or 204. Anything else counts as a failure and the delivery is retried with exponential backoff (30 seconds, doubling each time, 8 attempts in total) with a freshly signed token that keeps the same jti, so a repeat you already handled can be recognised. A client error such as 400 (except 408 and 429) is treated as a definitive refusal and is not retried. Redirects are not followed.

Nexiel Login issues no refresh tokens, and the access_token it returns is an opaque placeholder that no endpoint accepts, so there is no RFC 7009 token revocation endpoint. Ending the session is the revocation.

Data handling: what gets persisted

  • Nexiel Login persists no name, birthdate, or nationality for any login, ever. The wallet discloses a birthdate as part of completing the underlying check, but it is used only to satisfy that check and is discarded immediately, never stored, logged, or returned, the same discipline every other Nexiel Verify check type follows.
  • What is stored: an opaque subject record per (connection, wallet holder) pair holding only a hash of the holder's key-binding public key thumbprint, first-seen and last-seen timestamps, and a login count. No column exists for a name or date of birth on that record at all, not merely a policy not to fill one in.
  • The one-time authorization code and the SSO session cookie are both stored only as a SHA-256 hash of the bearer value. The raw value is returned or set exactly once and never persisted anywhere.
  • For logout, Nexiel keeps the session record with the time and reason it ended, and a delivery record per Back-Channel Logout notification (the opaque session and subject identifiers, attempt count and last response status). These are opaque pseudonymous identifiers. No wallet attributes are involved.

Calling the check directly

login-authentication is also a normal Verify API checkType, callable via POST /v1/verify/sessions exactly like age-verification or aml-identity, for a case where you want to drive the wallet round trip yourself rather than through the hosted OIDC bridge above. Its decision carries only booleanProofs: { claimsVerified: true }: no AML or PEP screening ever runs for this checkType, and no evidence pack is generated for it, since there is no identity claim in the decision worth encrypting a copy of.

Reference

Every Nexiel Login route above is documented under the Login tag on the Verify API reference, alongside the login-authentication checkType's own request/response shape.