diff --git a/src/sdk.ts b/src/sdk.ts index ce797b0..071a6b1 100644 --- a/src/sdk.ts +++ b/src/sdk.ts @@ -325,7 +325,7 @@ class Sdk { } public async signin_redirect(additionalParams?: IObject): Promise { - window.location.replace(this.pkce.authorizeUrl(additionalParams)); + window.location.assign(this.pkce.authorizeUrl(additionalParams)); } public async exchangeForAccessToken(additionalParams?: IObject): Promise {