Skip to content

Implement MRRT#906

Merged
gyaneshgouraw-okta merged 2 commits intomainfrom
allow-mrrt
Oct 6, 2025
Merged

Implement MRRT#906
gyaneshgouraw-okta merged 2 commits intomainfrom
allow-mrrt

Conversation

@aridibag
Copy link
Copy Markdown
Contributor

@aridibag aridibag commented Oct 1, 2025

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

In this PR, auth0-spa-js has been updated to allow auth0-react to use Multi-Resource Refresh Tokens (MRRT). An example of configuring the Auth0Provider to use MRRT has also been provided.

Testing

  • Configure MRRT.

  • In your react testing application, add useMrrt, useRefreshTokens and useRefreshTokensFallback to true, following the example on EXAMPLE.MD.

  • Get a token for audience 1.

  • Try to get a token for audience 2 using the refresh token from audience 1.

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@aridibag aridibag self-assigned this Oct 1, 2025
@aridibag aridibag requested a review from a team as a code owner October 1, 2025 10:18
@gyaneshgouraw-okta gyaneshgouraw-okta merged commit 72a0c44 into main Oct 6, 2025
11 of 12 checks passed
@gyaneshgouraw-okta gyaneshgouraw-okta deleted the allow-mrrt branch October 6, 2025 05:05
@gyaneshgouraw-okta gyaneshgouraw-okta mentioned this pull request Oct 6, 2025
gyaneshgouraw-okta added a commit that referenced this pull request Oct 6, 2025
**Added**
- Implement MRRT [\#906](#906)
([aridibag](https://github.com/aridibag))
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.

2 participants