Skip to content
Init is coming / May 19 - 23
Back

Set succes/failure url in console

  • 0
  • React Native
  • Auth
Staticsprite
15 May, 2025, 09:46

Hi guys,

I want to set up a succes and failure url for my OAuth2 provider Google. But I don't see any options for this? Is it not possible to do so?

Beside the URI I dont see other options.

TL;DR
Issue: Developer encountering "AppwriteException" stating user is missing scope (account) when trying to set up Google login functionality. Unsure of where to set success/failure URL in Appwrite console, specifically for OAuth2 provider Google within a React Native and Expo project. Solution: The error is likely due to missing scope permissions in the Appwrite console under the user's role settings. To resolve this, navigate to the Appwrite console, locate the specific user role (in this case 'guests'), and ensure it has the necessary 'account' scope assigned. Additionally, to set success/failure URLs for Google OAuth2 provider, explore
Staticsprite
15 May, 2025, 09:52

I'm using react-native-appwrite and Expo

Staticsprite
15 May, 2025, 09:55

Background:

I'm tyring to set up a login function where the user can login using Google. It seems to work up until I get this error [AppwriteException: User (role: guests) missing scope (account)] I think it refuses to set a session after creations.

A quick chatgpt tells me I have to add a redirect URI in the console. But I cannot find where.

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