|
|
|
|
|
by beckler
42 days ago
|
|
The ID token is always a JWT when doing OIDC, and it makes sense in this situation. Because the ID token is not a set of credentials, but signed information you’d use to create/update a user’s profile. You can technically use JWTs as access tokens, as the spec doesn’t specify a format for access tokens, but in my experience they’re normally opaque bearer tokens. |
|
It would have been better if instead of implementing ID tokens, OIDC only supported the authorization code flow and returned a JSON payload of claims (which nobody would incorrectly assume to be trustworthy).