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

Does it support react native? #43

Open
MontoyaAndres opened this issue Nov 4, 2019 · 2 comments
Open

Does it support react native? #43

MontoyaAndres opened this issue Nov 4, 2019 · 2 comments

Comments

@MontoyaAndres
Copy link

useAuth works pretty great for web, but what about React Native or Ionic? Is there any plan to add the support? 😁

@Swizec
Copy link
Owner

Swizec commented Nov 10, 2019

Hey @MontoyaAndres I haven't used react-native in a while so I'm not sure. Would be cool if someone attempts an example and then we can figure out what needs fixing :)

The sticking points would likely be around redirecting to Auth0 and back. RIght now it assumes URL access to the callback page so that might break if there's no page.

That said, I thing Auth0 itself does support react native 🤔

@MontoyaAndres
Copy link
Author

I've been searching info about it and maybe useAuth does not work with react native, because the package auth0-js just work for web, for React Native is this one https://github.com/auth0/react-native-auth0 Maybe creating an alternative based on this package would be great :)

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

No branches or pull requests

2 participants