
hi im using appwrite for vite in react for authenticating google signin a little help would be great- im using env files in my project to store the apprite project credentials also for the login im using this - const signInWithGoogle = async () => { try { const response = await account.createOAuth2Session( "google", "http://localhost:5173/home", "http://localhost:5173/login" ); cons; console.log(response); } catch (error) { console.log(error); } };
and register functions im using - the same as above while clicking on the google link im registering also in the google console im using the same exact steps as dennis ivy mentioned in the google auth setup video
the problem now is when im deploying my project in vercel im giving these- for the authorized js URI - i have given the vercel deployment link also the redirect URI is from the appwrite google auth setting
for the oauth consent screen the app domain is same as vercel deployment link and in the authorized domain i have the vercel deployment link without https:// and appwrite.io as well
test user email is also given but when i sign in in the deployment link i get this error
404: NOT_FOUND Code: NOT_FOUND ID: bom1::fpvlc-1714659501818-4fc65bad1caa
Recommended threads
- I have an error oauth with Microsoft
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for...
- Flutter Google Auth (Access blocked: Thi...
It is working fine on web platform, but on Flutter I'm getting this error. Any option to fix, or this issue with AppWrite and need to use different option? Ac...
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
