Skip to content

Conversation

matthieupinte
Copy link

Changes

When using the Authorization Code flow, the exchange_auth_code_for_tokens method can now return a token containing the authorization_details key. This field is required to handle detailed authorization information provided by Auth0 for certain requests (e.g., PAR/OAuth2 Pushed Authorization Requests).

This change allows:

Retrieving and using authorization_details in the Auth0 callback. Preparing the application for advanced authorization scenarios (such as fine-grained permission management). Thank you for your review!

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of Ruby

Checklist

When using the **Authorization Code flow**, the `exchange_auth_code_for_tokens` method can now return a token containing the `authorization_details` key.
This field is required to handle detailed authorization information provided by Auth0 for certain requests (e.g., PAR/OAuth2 Pushed Authorization Requests).

This change allows:

Retrieving and using `authorization_details` in the Auth0 callback.
Preparing the application for advanced authorization scenarios (such as fine-grained permission management).
Thank you for your review!
@matthieupinte matthieupinte requested a review from a team as a code owner September 24, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant