flutter_appauth icon indicating copy to clipboard operation
flutter_appauth copied to clipboard

Use with Apple sign-in, no custom redirect scheme allowed

Open jomag opened this issue 3 years ago • 1 comments

I've successfully implemented Flutter AppAuth for use with Microsoft and Google on both iOS and Android. Now I'm attempting to do the same for sign-in with Apple.

I have it working all the way through 2fa etc, but the token is never received by the app.

I believe the problem is that Apple does not allow using a custom scheme for redirects. https must be used. I've set up a universal link for the redirect URI, and I do receive the response that way, but it's eaten by the navigator and never reaches Flutter AppAuth.

Has Flutter AppAuth been successfully tested with Apple Sign-In, and if so how do I get around this issue?

jomag avatar May 18 '22 13:05 jomag

I've never used Apple sign in so not something I know to answer. I don't know if people have used the underlying AppAuth iOS SDK with Apple sign in. You may need to ask the wider community on places like Slack, Stack Overflow etc

MaikuB avatar May 31 '22 09:05 MaikuB