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
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...