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
- Trying to Cutover custom domain, but sti...
Hi Team, Im trying to cutover my custom domain from an old project to a new one and even after deleting it from the old project and org completely, I get "Dom...
- Domain issues
i have deleted my organization before switch domains, now i cant register it in my new org
- Suspicious access pattern detected when ...
Hello, I am having trouble restoring my project. In the past it worked with no problems, but today I get an error "Suspicious access pattern detected". How can ...