5

I want to make an app that needs authentication, I want to use Oauth2 and I have my own REST API.

I know this is very brief question so I'm not expecting direct answer.

If you have any links or articles for this it would be helpful!

2 Answers 2

3

Using a library such as react-native-app-auth will help you a lot. There's quite a lot of setup to do which is explained in their documentation. Feel free to update if you run into troubles using it.

Sign up to request clarification or add additional context in comments.

Comments

1

Go through this blog: https://medium.com/@alexmngn/the-essential-boilerplate-to-authenticate-users-on-your-react-native-app-f7a8e0e04a42

it is very easy to understand and shows basic authentication by OAuth2.

1 Comment

This does not explain OAuth2 flow, just a normal login one

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.