Skip to content

Add support for WebAuthenticationSession's additionalHeaderFields (iOS 17.4+, macOS 14.4+)#2836

Open
schulzp wants to merge 1 commit into
pichillilorenzo:masterfrom
schulzp:web-auth-session-headers
Open

Add support for WebAuthenticationSession's additionalHeaderFields (iOS 17.4+, macOS 14.4+)#2836
schulzp wants to merge 1 commit into
pichillilorenzo:masterfrom
schulzp:web-auth-session-headers

Conversation

@schulzp

@schulzp schulzp commented May 12, 2026

Copy link
Copy Markdown

Connection with issue

Resolve issue #2835

Testing and Review Notes

  • Run an app build on iOS 17.4+ or macOS 14.4+.
  • Create a WebAuthenticationSession with additionalHeaderFields, for example:
    {'X-Test-Header': 'test-value'}
  • Use an initial URL that points to a request inspection service such as:
    https://echo.free.beeceptor.com/
  • Start the session and verify that the custom header is present in the outgoing initial request.
  • Repeat on an older iOS/macOS version and verify that the session still works without crashing, with the header being ignored on unsupported OS versions.

To Do

  • Confirm the preferred long-term test location for this feature.
  • Decide whether the current Dart-side package tests are sufficient, or whether this should be covered by an example/integration test against a real endpoint.

@probot-autolabeler probot-autolabeler Bot added android iOS linux Linux platform macOS macOS platform platform_interface Platform Interface plugin flutter_inappwebview plugin web windows Windows platform labels May 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a5f29b3cfb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@schulzp schulzp force-pushed the web-auth-session-headers branch from a5f29b3 to 67d0c97 Compare May 12, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

android iOS linux Linux platform macOS macOS platform platform_interface Platform Interface plugin flutter_inappwebview plugin web windows Windows platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant