K
Kinde3mo ago
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?
Kinde docs
Flutter SDK
Our developer tools provide everything you need to get started with Kinde.
No description
3 Replies
IkiTg07
IkiTg073mo ago
Hey. Let me ask for help on your issue
onderay
onderay3mo ago
Sorry that you are seeing this Seba. I have reached out to our Flutter expert and will have them come back in about 24hrs. As nothing is standing out to me outside of following the docs. Able to double check that an extra slash is not being added to the callbacks? Have you tried using our Startkit with the same details? https://github.com/kinde-starter-kits/flutter-starter-kit
GitHub
GitHub - kinde-starter-kits/flutter-starter-kit
Contribute to kinde-starter-kits/flutter-starter-kit development by creating an account on GitHub.
Seba
SebaOP3mo ago
I will try in the meantime the starterkit is not even compiling with the last flutter version
Want results from more Discord servers?
Add your server