What is the best way to register users in the app via Oauth login (facebook, google and Apple) or login and password

Asked

Viewed 30 times

0

I’m creating an app with Expo (React Native) where do I login Oauth no facebook, google and apple using the Oauth and also via login and password. However I will only work with the registration UID of the email and password, the other UID as facebook, google and apple I just want to link to the email and password.

I will let the home screen the option to log in fast with facebook, google apple, however so that the user can use this quick way to log in/login he needs before this register with login and password and in the app configuration, it link these accounts for quick access.

I’m doing like this:

When the user opens the app he chooses the type of login, but the system will confess the token and check if it is linked, entering the system change the UID to the email and password and so passes.

If not, it warns that it needs to register and link the account in configuration.

My two canvases:

Tela de login

Tela para vincular

This line of logic is correct or there is another?

If you have examples please show go!

Personal thank you!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.