Back

[SOLVED] Getting "Missing Redirect URL" error when using the google OAuth2 provider.

  • 1
  • Web
  • Cloud
Don't Know
2 Oct, 2023, 19:30

I copied the URI that appwrite generates when I click on enabling the Google provider for auth. Pasted the URI under the "Authorised redirect URIs " when adding a new credentials in google cloud.

TL;DR
Title: [SOLVED] "Missing Redirect URL" error with Google OAuth2 provider Solution: The issue was resolved by adding the success URL when using the account.createOAuth2session() function. The user was successfully added to the Appwrite cloud. The fix involved copying the URI provided by Appwrite for enabling the Google provider and pasting it under the "Authorised redirect URIs" when adding new credentials in Google Cloud.
Don't Know
2 Oct, 2023, 19:35

User does get added is showing under the users section in Appwrite cloud

Don't Know
2 Oct, 2023, 19:35

The redirect back to the page is failing

Don't Know
2 Oct, 2023, 19:41

Nvm guys... Forgot to put the success URL when using account.createOAuth2session()

Drake
2 Oct, 2023, 20:00

[SOLVED] Getting "Missing Redirect URL" error when using the google OAuth2 provider.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more