hi everyone, I am building a react-native app with expo and appwrite. I have setup an OAuth flow with Google and Apple following this doc (https://appwrite.io/blog/post/google-oauth-expo) and it works, however, when triggered it says continue to appwrite.io I would like to understand how can i set this up so it shows my domain. So instead of saying, "Choose an account to continue to appwrite.io" to say "Choose an account to continue to mydomain.com"
Hi! As per what I know, you can't change appwrite.io to your domain name if you're using OAuth service from Appwrite, as that OAuth client is hosted by Appwrite. And as far I know, currently there isn't any option to setup custom domain for the OAuth flow. So, it will show Appwrite's domain only. And this is not Appwrite's fault, it's something constrained by Google's OAuth security rules only.
However, if you really want your domain name to be there, then you'll have to create your own Google OAuth Client ID from the Google Cloud Console. There you can set up your custom domain name (and logo, etc. ) if you want.
Recommended threads
- Oauth issue
Hi, can anyone help me in the Oauth issue, Its working fine in dev but its showing Invalid redirect during production. I have check the redirect url and all. St...
- Google Auth not working in a React App
Authentication with Google has failed. It redirects back to the signin route in React. Attached screenshots for configuration of Google console and Appwrite Go...
- How to display images from storage
I tried the link above, but it returns the error “`Please upgrade to a higher plan.`” I don’t need Transformations at the moment, I just want to display the ima...