-
Notifications
You must be signed in to change notification settings - Fork 54
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
Provide a way to add HTTP Headers to the authenticate call #57
Comments
That sounds like a great feature request which I will take a look at after my vacation (in around two to three weeks)! 😊 |
I have a huge refactor planned which should be able to tackle this task. However, it will need quite some time |
The huge refactor is online in version |
Looks like |
https://pub.dev/documentation/url_launcher/latest/url_launcher/WebViewConfiguration/headers.html "Not all browsers support this, so it is not guaranteed to be honored." Additionally, it is restricted to Android only. But I have already implemented this a few weeks ago in my local build of the 4.0.0 alpha - so the next preview will at least support this on Android. |
I just wanted to push my changes, but I noticed that they are not even applied on Android since we are not using url_launcher on Android - in favor of a native solution. Hence, this is still not possible (and the headers parameter @kwent mentioned was already available when this issue was created and I was even aware of it) |
Sounds good thanks for being on top of this and clarifying the situation!
…On Wed, Mar 13, 2024 at 9:40 AM Nico Mexis ***@***.***> wrote:
I just wanted to push my changes, but I noticed that they are not even
applied on Android since we are not using url_launcher on Android - in
favor of a native solution. Hence, this is still not possible (and the
headers parameter @kwent <https://github.com/kwent> mentioned was already
available when this issue was created and I was even aware of it)
—
Reply to this email directly, view it on GitHub
<#57 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGWZJC2MWDY3R7R3GZ7ZVLYYB6OZAVCNFSM6AAAAAA3LYWWTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUHEZDQMBZG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'm using this package to authenticate with my backend server. I'd like to be able to pass some header values along with the URL open call to my server. As far as I can tell this isn't supported today.
The text was updated successfully, but these errors were encountered: