How can I do login with OAuth2 (Identity Server 4) using flutter web?

504 views
Skip to first unread message

Suvadeep Das

unread,
Feb 24, 2020, 8:32:57 AM2/24/20
to Flutter Development (flutter-dev)

I have been trying to do Oauth2 login of Identity Server 4 using flutter, I have successfully implemented the login on iPad using: https://pub.dev/packages/flutter_web_auth library but as this library says it also supports web but seems like it is not working on the flutter web app, can you guys kindly suggest how can I make the web app work with Oauth2 or is there any other way to make the OAuth2 login work with flutter web?

I need to do this ASAP, so any help will be really appreciated.

Suzuki Tomohiro

unread,
Feb 24, 2020, 9:40:05 AM2/24/20
to Suvadeep Das, Flutter Development (flutter-dev)
this library says it also supports web but seems like it is not working on the flutter web app, 

(I don’t use Flutter web)
What made you think that? Would you share error messages if any?


On Mon, Feb 24, 2020 at 08:33 Suvadeep Das <suvade...@gmail.com> wrote:

I have been trying to do Oauth2 login of Identity Server 4 using flutter, I have successfully implemented the login on iPad using: https://pub.dev/packages/flutter_web_auth library but as this library says it also supports web but seems like it is not working on the flutter web app, can you guys kindly suggest how can I make the web app work with Oauth2 or is there any other way to make the OAuth2 login work with flutter web?

I need to do this ASAP, so any help will be really appreciated.

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/ecff38cc-e3a3-4826-8da1-868422b8f66f%40googlegroups.com.

Suvadeep Das

unread,
Feb 24, 2020, 9:47:11 AM2/24/20
to Flutter Development (flutter-dev)
The same code works on iPad but on the web no additional login popup/ oAuth popup is shown, it is not even returning any error.


On Monday, February 24, 2020 at 8:10:05 PM UTC+5:30, Suzuki Tomohiro wrote:
this library says it also supports web but seems like it is not working on the flutter web app, 

(I don’t use Flutter web)
What made you think that? Would you share error messages if any?

On Mon, Feb 24, 2020 at 08:33 Suvadeep Das <suvade...@gmail.com> wrote:

I have been trying to do Oauth2 login of Identity Server 4 using flutter, I have successfully implemented the login on iPad using: https://pub.dev/packages/flutter_web_auth library but as this library says it also supports web but seems like it is not working on the flutter web app, can you guys kindly suggest how can I make the web app work with Oauth2 or is there any other way to make the OAuth2 login work with flutter web?

I need to do this ASAP, so any help will be really appreciated.

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages