Implement OAuth authentication for Android
First make sure you have completed the Google OAuth Web page.
First of all, you need to create a new project in the Google Cloud Console if you don’t have one already.
Click the APIs & Services
menu.
Click the Credentials
menu.
Then click the Create Credentials
button.
OAuth client ID
But you need to Configure Consent Screen
first.
Oops! There is a problem here. We need to fix it. Go to Expo and create a new project if you don’t have one already.
Open your terminal in your project folder.
eas credentials
Android
development
SHA1 Fingerprint
.https://<project-ref>.supabase.co/auth/v1/callback
in the Authorized redirect URIs
field.Save
button.Copy your Android Client ID
and go to .env
file.
Add your Android Client ID
to the .env
file.
Implement OAuth authentication for Android
First make sure you have completed the Google OAuth Web page.
First of all, you need to create a new project in the Google Cloud Console if you don’t have one already.
Click the APIs & Services
menu.
Click the Credentials
menu.
Then click the Create Credentials
button.
OAuth client ID
But you need to Configure Consent Screen
first.
Oops! There is a problem here. We need to fix it. Go to Expo and create a new project if you don’t have one already.
Open your terminal in your project folder.
eas credentials
Android
development
SHA1 Fingerprint
.https://<project-ref>.supabase.co/auth/v1/callback
in the Authorized redirect URIs
field.Save
button.Copy your Android Client ID
and go to .env
file.
Add your Android Client ID
to the .env
file.