KindeK
Kinde16mo ago
4 replies
Seba

Trying Flutter auth, I get always "Invalid callback URL"

I have followed the guide on https://docs.kinde.com/developer-tools/sdks/native/flutter-sdk/ but I can't get it work. I have double checked all the configs, I have

KINDE_AUTH_DOMAIN=https://levelupmta.kinde.com
KINDE_AUTH_CLIENT_ID=5691eee84e0d49ddbe6e801107e9d0b5
KINDE_LOGIN_REDIRECT_URI=com.example.test_auth_kinde://kinde_callback
KINDE_LOGOUT_REDIRECT_URI=com.example.test_auth_kinde://kinde_logoutcallback
KINDE_AUDIENCE=https://levelupmta.kinde.com/api

in my .env file

manifestPlaceholders += [
'appAuthRedirectScheme': 'com.example.test_auth_kinde'
]

in build.gradle and the Kinde configuration are set the same but I always get the page on my mobile saying "Invalid callback URL". What should I check?
image.png
Kinde docs
Our developer tools provide everything you need to get started with Kinde.
Flutter SDK
Was this page helpful?