Skip to content

Commit

Permalink
BUG-880084 : Make sure to remove the redirect url with ?code=...&stat…
Browse files Browse the repository at this point in the history
…e=... to fix issues with previous/next browser history navigation
  • Loading branch information
serav authored and serav committed Jul 23, 2024
1 parent d0ad8a8 commit 24a5e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/samples/FullPortal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default function FullPortal() {
}

function doRedirectDone() {
history.push(window.location.pathname);
history.replace(window.location.pathname);
let localeOverride: any = sessionStorage.getItem('rsdk_locale');
if (!localeOverride) {
localeOverride = undefined;
Expand Down

0 comments on commit 24a5e02

Please sign in to comment.