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
- Hi Appwrite Support Team,My project has ...
Details: Project ID: 69a69f6f00113ed0e8e4 Region: SFO (sfo.cloud.appwrite.io) Error Response: Affected: ALL endpoints — Functions, Databases, Storage, Health, ...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...