-
Notifications
You must be signed in to change notification settings - Fork 129
Migration from Old Versions
The intent of this document is to make migration of breaking changes as easy as possible. This page follows the same convention as the core Doorkeeper gem.
Please also check the CHANGELOG.md for a full list of changes before finalizing the upgrade process.
-
expires_inremoved from pureid_tokenresponse (#254)When using the Implicit Flow with
response_type=id_token, the response body and redirect URI no longer include theexpires_inparameter.Per OpenID Connect Core 1.0 §3.2.2.5,
expires_inrepresents the Access Token lifetime — but no access token is issued in a pureid_tokenresponse, so this value was always semantically incorrect.Who is affected?
Only clients using
response_type=id_token. Theresponse_type=id_token tokenresponse is not affected —expires_inis still returned there alongside the access token.What to do:
If your client was reading
expires_infrom a pureid_tokenresponse (e.g. to determine the ID Token’s lifetime), switch to theexpclaim inside the ID Token itself, which is the authoritative expiration value per OIDC Core §2.