flutter_web_auth
flutter_web_auth copied to clipboard
Missing iOS .plist config
Hi Together, I had been looking for a long time for a solution to the problem why I am not redirected back to the app when the login was correct. The error was due to the missing config in the .plist file for iOS.
<key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLSchemes</key> <array> <string>{yourScheme}</string> </array> </dict> </array>
Please add this to the Documentation to help other devs :)
Hmm, as far as I can tell this shouldn't be necessary, ref: https://github.com/openid/AppAuth-iOS/issues/715
But still, would be nice to add as a trouble shoot step. What error did you get before adding CFBundleURLTypes?