hi, I'm trying to enable authorization via github, but I get an error using android kotlin { "message": "Invalid redirect URL for OAuth success.", "code": 400, "type": "project_invalid_success_url", "version": "1.6.1" }
TypeScript
activity = this@MainActivity,
provider = OAuthProvider.GITHUB,
success = "https://cloud.appwrite.io/v1/account/sessions/oauth2/callback/github/67b693810011e520cf60", // Callback URL
failure = "https://cloud.appwrite.io/v1/account/sessions/oauth2/callback/github/67b693810011e520cf60"
)
TL;DR
Developers are encountering an error with oAuth GitHub due to an invalid redirect URL for OAuth success. The issue is present in the Android Kotlin code snippet provided. The solution is to ensure the correct redirect URL is used for OAuth success.please help
Recommended threads
- Appwrite rejecting create and edit reque...
hello, so my issue is that when i make a debug build of my app, everything works as it should, but when i download and test a SIGNED release database rejects al...
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- android platform invaild origina
It happened today suddenly. Our app says invalid origin. And appwrite cloud says every time we tried to add the app to it: "param platformId" is not optional.