Description
Is your feature request related to a problem? Please describe.
In an application we want to provide an option for a quick user-switch, without losing the state of the current components.
For that we'd like to open up a sign-in Popup on the AS (using auth code flow with pkce), and provide a login_hint (we know the user we want to switch to), as well as optional acr_values to the AS.
We noticed that the method that starts the login in a popup window does not accept the login_hint and also no additional url_parameters.
Describe the solution you'd like
While looking at the code we noticed that the method initLoginFlowInPopup
does internally use a method that accepts both the login_hint as well as additional parameters, but does not expose these in its own signature:
It would be awesome if the method would expose at least the required, but ideally all parameters of the initLoginFlow
method (additionalState
, params
) and pass them along.
Describe alternatives you've considered
Sadly no other idea comes to our mind ;)
Additional context
None.
We could also think of doing this ourselves and provide a PR, if you'd be willing to accept this.