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
- Google login error: {"message":"Invalid ...
hi, im trying to use google login with account.createOAuth2Session( 'google', 'profevardilla.pages.dev', 'profevardilla.pages.dev'...
- Create owner team member with Server fun...
I understand that when creating a team with a function, the user that made the request will not be the owner so I think I have to add the user that did the requ...
- Appwrite processing global envs and chan...
So I define a global env - GCP_CREDENTIALS in global env of my appwrite projcet and refer to it in my functions as ```gcp_creds: JSON.PARSE(GCP_CREDENTIALS)```...
