Back
Google sign-in failed: AppwriteException: Not yet supported at Account.createOAuth2Session (
- 0
- Android
- React Native
- Web
- Auth
TypeScript
const handleGoogleSignIn = async () => {
try {
await googleSignIn();
// Handle post-sign-in actions here, like navigation or state updates
} catch (error) {
// Handle errors here
}
};
TypeScript
// Google sign-in function
export const googleSignIn = async () => {
try {
// Start the OAuth2 flow
await account.createOAuth2Session(
'google', // Provider ID for Google
'http://localhost:8081/home', // Redirect URL after successful login
'http://localhost:8081/sign-in' // Redirect URL on failure
);
console.log('Google sign-in successful');
} catch (error) {
console.error('Google sign-in failed:', error);
throw new Error(error);
}
};
i need help
TL;DR
Google sign-in functionality is failing with an "AppwriteException: Not yet supported" error. The issue might be related to Google OAuth2 not being fully supported by Appwrite. Consider using a different authentication method or checking for updates on Appwrite's documentation.Recommended threads
- 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...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...