Prevent showing empty page on browser back button
This commit is contained in:
parent
9922d11654
commit
14189f0461
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export function redirectAuthorize({ serverMetadata, clientId, redirectUri, scope
|
|||
if (scope) {
|
||||
params.scope = scope;
|
||||
}
|
||||
window.location.assign(serverMetadata.authorization_endpoint + "?" + formatQueryString(params));
|
||||
window.location.replace(serverMetadata.authorization_endpoint + "?" + formatQueryString(params));
|
||||
}
|
||||
|
||||
function buildPostHeaders(clientId, clientSecret) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue