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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Paused project can't activate
I have failed to reactivate one my projects which had been paused