What is ID token?
An ID token is a signed JSON Web Token issued by an OpenID Connect provider that tells the application who the user is and how and when they authenticated.
How it works
It contains claims such as iss (issuer), sub (user identifier), aud (the client ID it was issued for), exp (expiry), iat (issue time) and nonce, plus profile claims like email when requested.
The application must verify the signature with the provider's keys and check the issuer, audience, expiry and nonce before trusting it. An ID token is for the application; it is not meant to be sent to APIs, which use access tokens.
ID token in SyAuth
SyAuth issues signed ID tokens. The SyAuth starter validates their signature against JWKS and checks issuer, audience, expiry, state and nonce before creating a session.
Related terms
Free for up to 30,000 registered users
Start on the free plan and upgrade when your project grows.
Last updated