flutter_web_auth icon indicating copy to clipboard operation
flutter_web_auth copied to clipboard

Missing iOS .plist config

Open pschreie opened this issue 2 years ago • 1 comments

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 :)

pschreie avatar Apr 06 '23 11:04 pschreie

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?

LinusU avatar May 22 '23 11:05 LinusU