docs: update Native to Web SSO documentation#660
Merged
BcnCarlos merged 2 commits intoauth0:mainfrom Feb 23, 2026
Merged
Conversation
- Fix Android SDK code samples to use correct SecureCredentialsManager API - Add React Native SDK examples and support - Add Organizations support section - Add parent refresh token metadata access documentation for Actions - Expand monitoring section with warning log events - Fix typo in native-to-web-sso-and-sessions.mdx Co-Authored-By: Claude <noreply@anthropic.com>
- Add @auth0/auth0-spa-js example using loginWithRedirect with authorizationParams - Add @auth0/auth0-react example using useAuth0 hook - Fix Node (Express.js) example to avoid config state leakage between requests Co-Authored-By: Claude <noreply@anthropic.com>
BcnCarlos
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the Native to Web SSO documentation with several fixes and enhancements:
Android SDK Code Samples Fix
The Android SDK code samples were using an incorrect API (
AuthenticationAPIClient.ssoExchange()). Updated to use the correctSecureCredentialsManager.getSsoCredentials()method that matches the actual SDK implementation.React Native SDK Support
useAuth0) and the class-based approach (Auth0class)Organizations Support
Added new section documenting how to use Organizations with Native to Web SSO, including:
organizationparameter in/authorizemust match the token's organizationParent Refresh Token Metadata Access
Added documentation for the new feature that allows Actions to access metadata from the parent refresh token during Native to Web
SSO flows. This enables passing contextual information (device integrity, risk signals, custom context) from the native app to the
web session.
Monitoring Section Improvements
Expanded the monitoring section with a comprehensive table of warning log events (
w) that are emitted when session transfer tokenvalidation fails, helping developers troubleshoot Native to Web SSO issues.
Web SDK Examples
Added examples for web applications receiving the session transfer token:
loginWithRedirect()withauthorizationParamsuseAuth0hook with proper loading/authentication guardssession_transfer_tokenfrom one request could leak tosubsequent requests
Typo Fix
Fixed typo "SSSO" → "SSO" in native-to-web-sso-and-sessions.mdx
References
Testing
mintlify devin themaindirectory/docs/authenticate/single-sign-on/native-to-web/configure-implement-native-to-web/docs/authenticate/single-sign-on/native-to-web/configure-mobile-to-web-payment-flows/docs/authenticate/single-sign-on/native-to-web/native-to-web-sso-and-sessionsChecklist
CONTRIBUTING.md.