OAuth Best Practices

Hi,

I’m trying to implement a authorisation with OAuth in the app via Google and Apple providers.

I have a backend code as well, that should in the end authorise the user to use its API.

I was wondering what the best practices for this kind of things are? For now from what I’ve gathered we need to get authentication code in expo, then send it to the backend application and let it fetch the authentication token and email and send it back to React Native app.
Is there a better way to do this?

And what are the best expo libraries to use for Google and Apple OAuth? I’ve read some confusing things on the internet that the deprecated libraries are better than new ones which only made me only more confused on this topic.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.