There was an error processing your request. Please check the inputs and try again. (400)
- 0
- Flutter
- Auth
- Cloud
while registering user
appwrite sdk version : 12.0.3 in dart using cloud
suddenly stops working
try {
final res = await AppwriteConfig.account.createOAuth2Session(
provider: OAuthProvider.google, scopes: ['email', 'profile']);
this is the code for google auth
Are you using the dart SDK or the flutter SDK?
flutter sdk appwrite: ^12.0.3
Such scopes are really needed? Try omitting them
ok
same error after removing them
At what point you're getting this error?
after redirecting to cloud.appwrite.io
before redirecting
Ok. Do you have set everything in the appwrite cloud console (enabled Google oauth and set it?)
yes
In the Google cloud platform, the URL set is the one specified in the popup that opens after clicking the google section in the creenshot you sent?
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems