How it works
The provider is https://id.zoreal.com, and its discovery document is at https://id.zoreal.com/.well-known/openid-configuration. A sign-in has four steps:
- Your frontend starts a pairing with a ZOREAL client library. On a computer the person scans a QR code with ZOREAL ID; on a phone the library opens the app.
- The person approves in the app: a signature from the phone's hardware key, released by a biometric or passcode unlock, plus a face capture when you ask for one.
- The library hands your frontend an authorization
code, with the PKCEcode_verifierand thenonceit generated. - Your backend exchanges the code at
/token, verifies the ID token's ES256 signature against/jwks, and reads personal claims from/userinfowhen the scopes cover them.
The provider publishes no authorization_endpoint. A sign-in starts at the pairing step the frontend libraries run, so a generic OpenID Connect client that builds an authorize URL has nothing to point at: start the sign-in with a ZOREAL frontend library. On the server, the ZOREAL backend libraries exchange the code and run every check for you; the ID token itself is a JWT that any library verifying ES256 against a JWKS can check.
PKCE is mandatory, S256 only, for every client including confidential ones. The sub is pairwise per verified domain: two sites comparing notes see different identifiers for the same person. ZOREAL, as the provider, sees every sign-in: which person, at which site, and when.
curl https://id.zoreal.com/.well-known/openid-configuration{
"issuer": "https://id.zoreal.com",
"token_endpoint": "https://id.zoreal.com/token",
"userinfo_endpoint": "https://id.zoreal.com/userinfo",
"jwks_uri": "https://id.zoreal.com/jwks",
"response_types_supported": ["code"],
"grant_types_supported": ["authorization_code"],
"code_challenge_methods_supported": ["S256"],
"id_token_signing_alg_values_supported": ["ES256"],
"token_endpoint_auth_methods_supported": [
"none",
"client_secret_basic",
"private_key_jwt",
"tls_client_auth"
],
"scopes_supported": [
"openid",
"zoreal.age",
"zoreal.nationality",
"profile.name",
"profile.birthdate",
"profile.document",
"email",
"profile.portrait"
],
"acr_values_supported": ["zoreal.live", "zoreal.device", "zoreal.session"],
"subject_types_supported": ["pairwise"]
}