ThexXTURBOXx / flutter_web_auth_2

Flutter plugin for authenticating a user with a web service
https://pub.dev/packages/flutter_web_auth_2
MIT License
51 stars 50 forks source link

iOS Opening File Insted of URL [Authenticate Call] #52

Closed rdunlocked18 closed 1 year ago

rdunlocked18 commented 1 year ago

After calling this authenticate method on my auth URL on IOS it is opening like this. Whereas on all other platforms it is opening correctly.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'await FlutterWebAuth2.authenticate()'
  2. I am using Salesforce login redirect.
  3. Works on all other platforms but Showing below thing on iOS.

Simulator Screenshot - iPhone 14 Pro Max - 2023-07-25 at 09 39 59

ThexXTURBOXx commented 1 year ago

This looks like "Apple being Apple" again. I am unsure if this is a bug within this package or iOS or the backend since there is no way for me to test that (I don't own a apple device)

ThexXTURBOXx commented 1 year ago

Have you found a solution for this problem? If yes, would you be able to share how to resolve it for any other users that might have the issue? :) Thank you very much in advance!