You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix: force_pkce without the PKCE columns (rails generate doorkeeper:pkce) no longer accepts any code_verifier from a non-confidential client. The authorization code flow is now refused with server_error for those clients until the migration is applied.
[GHSA-88xh-fgq2-m396] Fix: with refresh tokens revoked on use, exchanging a refresh token now ends the transition period of the one it replaced. Before, a replaced refresh token stayed usable until the newer access token passed through doorkeeper_authorize!, so a client that refreshed twice in a row, or a resource server that checks tokens another way (by_token, introspection), left old refresh tokens of the chain valid.
Fix: refuse the client credentials grant for public (non-confidential) clients with unauthorized_client, as RFC 6749 Section 4.4 limits it to confidential clients: a public client's client_id alone was enough to be issued a token. Set allow_client_credentials_grant_for_public_clients true to keep the old behavior.