
when i use google login im not getting any secret/session anything to my success url that is http://localhost:3000/home The session is getting created i can see it in project -> auth -> user -> session in the appwrite cloud Code:
TypeScript
await account.createOAuth2Session(
OAuthProvider.Google,
"http://localhost:3000/home",
"http://localhost:300/login",
)
TL;DR
Developers are having trouble with Google login as the secret/session data is not being received in the success URL. The issue may be related to the code snippet provided for creating an OAuth2 session. Make sure to check the implementation for any potential errors or missing configurations in the code snippet.Recommended threads
- [BUG] Next.js 16 is broken on appwrite.
The latest version of Next.js fails to build on appwrite and shows the error: `Adapter mismatch. Detected: static does not match with the set adapter: ssr` whil...
- 500 Internal Server Error
This error shows 500 on live site, but it works perfectly on Localhost.
- Multiple Set-Cookie headers collapsed on...
I’m deploying a Next.js 15 app to Appwrite → Deploy → Sites. In app/api/auth/login/route.ts I try to set 3 cookies. Variant A (manual headers): const headers ...
