You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the logIn function, via the redirectToLogin function, always creates a new history entry because it uses window.location.assign. In some cases, we want to to be able to replace the history entry when redirecting to the login URL, so allowing this to be changed on a case-by-case basis would be nice.
Basic Example
Since it seems like the method parameter already exists, perhaps a new value for it can be used to accomplish this...something like replaced-redirect or ghost-redirect:
logIn('state',null,'replaced-redirect');
Drawbacks
None.
Unresolved questions
No response
Implementation PR
No response
Reference Issues
No response
The text was updated successfully, but these errors were encountered:
Summary
Currently, the
logIn
function, via theredirectToLogin
function, always creates a new history entry because it useswindow.location.assign
. In some cases, we want to to be able to replace the history entry when redirecting to the login URL, so allowing this to be changed on a case-by-case basis would be nice.Basic Example
Since it seems like the
method
parameter already exists, perhaps a new value for it can be used to accomplish this...something likereplaced-redirect
orghost-redirect
:Drawbacks
None.
Unresolved questions
No response
Implementation PR
No response
Reference Issues
No response
The text was updated successfully, but these errors were encountered: