Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update top level hook to facilitate exchangeNativeSocial sign-in flows #1023

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mnemitz
Copy link

@mnemitz mnemitz commented Dec 18, 2024

Changes

This PR exposes two more functions from the top level useAuth0 hook:

  • revoke Exposes the Auth0 SDK function for revoking refresh tokens
  • exchangeNativeSocial: Exposes the option for a Native social exchange

References

The reason we forked the SDK was to more easily implement native Apple ID sign-in on our React Native app, following the guidance in this documentation: https://auth0.com/docs/authenticate/identity-providers/social-identity-providers/apple-native

Testing

  • Native social exchange works on our iOS app
  • This change has been tested on the latest version of the platform/language or why not

Checklist

Happy to make an issue/discussion before proceeding with this PR if that's the usual flow. We're already maintaining this fork though and using it in production, so it should be ready to go.

- `revoke` Exposes the Auth0 SDK function for revoking refresh tokens
- `exchangeNativeSocial`: Exposes the option for a Native social
  exchange
@mnemitz mnemitz requested a review from a team as a code owner December 18, 2024 15:05
@mnemitz mnemitz changed the title Add two new functions to top level hook: Update top level hook to facilitate native sign-in flows Dec 18, 2024
@mnemitz mnemitz changed the title Update top level hook to facilitate native sign-in flows Update top level hook to facilitate exchangeNativeSocial sign-in flows Dec 18, 2024
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