-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck at authorisation screen @okrad #202
Comments
authorisation using browser window works as expected but native twitter apps stuck at authorisation screen. |
Use custom scheme instead of https |
Thanks, but i am already using custom scheme "appname://callback". Although it does work with browser but problem is with authorisation using twitter app.
authorisation using twitter app generates the token but it doesn't return back to the app. in browser case it generates the token and return to the app. BTW i have tried flutter_web_auth_2: ^4.0.1 and oauth2_client: ^3.3.0 packages. |
This is what I am using and it's redirecting back to the app as expected.
|
Taken from https://pub.dev/packages/flutter_web_auth_2#troubleshooting-android |
can you please share the fix for this. @okrad
At least I could open this as a popup, but nothing happens from there after authorize the redirect.
In the standard authorization flow, the authorization code is exchanged after the authorize button is pressed, but this does not occur and the popup is not closed in the first place, causing a redirect in the popup.
I was going to test on localhost, but am I doing something wrong?
Originally posted by @myConsciousness in #131 (comment)
The text was updated successfully, but these errors were encountered: