Search code examples
flutterauthenticationblocappauth

PlatformException(authorize_and_exchange_code_failed)


In first time when I login give me this error: PlatformException(authorize_and_exchange_code_failed, Failed to authorize: The operation couldn’t be completed. (org.openid.appauth.general error -3.), null, null). I used flutter_appauth package, for what it can be?

I want to know for what is it and how to fix.


Solution

  • I found for what is that it is because I called log in event twice, I fixed it)