Skip to content

Conversation

@dogoku
Copy link

@dogoku dogoku commented Sep 15, 2025

This PR exposes the extraQueryParams prop from MSAL which allows us to define additional query parameters for the generated URL.

The specific use-case is to set the ui_locales query parameter, to control the language of the MS auth pages.

@dogoku
Copy link
Author

dogoku commented Sep 15, 2025

I have a few more changes, but I wanted to see if you wanted all in one PR or separate ones

  • Expose ephemeral session prop for iOS. This prevents the iOS warning msg, but disables sharing sessions with Safari.
  • Expose loginHint prop, to allow loginHint not just from existing account, but in other situations.
  • Introduce forceInteractive prop to allow for Reset Password flow while still logged in. (currently if logged in, always goes to silent and skips interactive)

On a side note, I have also noticed that there is a fundamental difference between the implementation of iOS and Android versions of the plugin. iOS uses Multi-account mode where as Android uses Single-Account mode. (See docs for details)

This results in difference in behavior between the platforms and even a couple of small bugs. I have no preference to use multi vs single but I am curious what let to this difference in implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant