Hi @dan,
I think we've found the issue. In the FusionAuth blog post, the appAuthRedirectScheme includes the "://login-callback" part. Removing this seems to fix the issue, and the redirect works correctly.
The current code in the blog looks like this:
manifestPlaceholders = [
'appAuthRedirectScheme': 'com.fusionauth.flutterdemo://login-callback'
]
The code could still use a review, though, as there are some other things that are out of date. For example, the above code should use +=
instead of =
, as with later versions of flutter using just =
causes an error. See the Android Setup section here https://pub.dev/packages/flutter_appauth for details.
So the correct, up-to-date code looks like this:
manifestPlaceholders += [
'appAuthRedirectScheme': 'com.fusionauth.flutterdemo'
]
Thanks,
David