
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
- Realtime Disconnects and Error: INVALID_...
Hi! I just want to ask here if there's any workaround with the disconnect issues we're encountering when subscribing to realtime events in react native using ex...
- Console is not opening
Plz solve this issue console is not opening
- OAUTH2 doesn't works
https://github.com/202420505/APPWRITE-GOOGLE-AUTH Is my code wrong? I think this is also related to deeplinks
