Member-only story
Expo — Google authentication Oauth2
Expo Google Authentication
Expo is used for many developers and the number of users increasing amazingly fast. Maybe you are wondering how can you use google sign in with your application to sign your users?
Today i will explain how you can make example Google Authentication application for your projects.
Expo.Google.logInAsync
Used Versions
“expo”: “32.0.0”
“react”: “16.5.0”
Expo app is only use Web based authentication. This means it is allows you to use your signed in users from your browser.
To use Google Sign In, you will need to create a project on the Google Developer Console and create an OAuth 2.0 client.
For create new project in google developer console please visit link below:
Google Developer Console
- Create an app for your project if you haven’t already.
- Then click Create Credentials
Create an iOS OAuth Client ID
- Select “iOS Application” as the Application Type.
- Use
host.exp.expotest
as the bundle identifier. - Click “Create”
- You will now see a modal with the client…