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
- Error upgrading from 1.8.1 to 1.9.0
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...