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
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- Bug report: Race condition in Flutter SD...
Hi team, I've found an intermittent bug in the Flutter SDK (v20.3.0) when using `createOAuth2Session` on Android. **Symptoms** After `createOAuth2Session` re...
- New Build not visible on Domain
I pushed some new code to my Appwrite Site and the build succeeded and is shown as active. Yet, I can only see the new version of the site on Appwrite's provide...