Skip to content

Commit

Permalink
Use location.assign instead of location.replace
Browse files Browse the repository at this point in the history
  • Loading branch information
nighca authored Oct 29, 2024
1 parent 938f531 commit 789d2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ class Sdk {
}

public async signin_redirect(additionalParams?: IObject): Promise<void> {
window.location.replace(this.pkce.authorizeUrl(additionalParams));
window.location.assign(this.pkce.authorizeUrl(additionalParams));
}

public async exchangeForAccessToken(additionalParams?: IObject): Promise<ITokenResponse> {
Expand Down

0 comments on commit 789d2d3

Please sign in to comment.