Im using this following code to trigger oauth google to work
const handleGoogleLogin = () => {
console.log(window.location.href);
account.createOAuth2Session(
OAuthProvider.Google, // provider
window.location.href, // redirect here on success
'http://localhost:3000/oauth-fehler' // redirect here on failure
);
};
But it doesnt save a valid session in my browser, neither a cookie nor fallback cookie in localstorage. Is that to be expected when working with localhost in dev environment? The session in appwrite exists and the user gets created as well.
Recommended threads
- HTTP Error 500 ''
Hello to everyone, I'm a Flutter developer and actually I'm developing an app using Appwrite.. during my tests and also massive ones I've noticed something we...
- CSV imports were not working but found a...
With 1.9.5 Self-Hosted on a remote Debian 13 VPS I was trying to upload some data using the Import from CSV function. After following the Docs I created a csv f...
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126