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
- Using createAccount, I want to save user...
I am creating an e-commerce application using Vite, Tailwind, and Appwrite services for both customers and sellers. In the signup form, I have included fields f...
- cross-origin request blocked
i have added platforms but still facing issue on free-tier
- Email Verification Delay Issues - Need H...
Hi everyone! I launched my product yesterday after testing, and I'm seeing users drop off during email verification. Initially thought users didn't like the pro...
