Skip to content

Commit 9668140

Browse files
vrseraphinserav
andauthored
BUG-880084 : Fix issue with navigating back and forward getting to a … (#371)
* BUG-880084 : Fix issue with navigating back and forward getting to a url with ?code=....&state=... * Update @pega/auth version --------- Co-authored-by: serav <[email protected]>
1 parent b1de470 commit 9668140

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@material-ui/icons": "^4.11.3",
5454
"@material-ui/lab": "^4.0.0-alpha.60",
5555
"@material-ui/pickers": "^3.3.10",
56-
"@pega/auth": "^0.2.13",
56+
"@pega/auth": "^0.2.14",
5757
"@tinymce/tinymce-react": "^4.3.2",
5858
"@types/react": "^17.0.74",
5959
"dayjs": "^1.11.10",

packages/react-sdk-components/src/samples/FullPortal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export default function FullPortal() {
171171
}
172172

173173
function doRedirectDone() {
174-
history.push(window.location.pathname);
174+
history.replace(window.location.pathname);
175175
// appName and mainRedirect params have to be same as earlier invocation
176176
loginIfNecessary({ appName: 'portal', mainRedirect: true });
177177
}

0 commit comments

Comments
 (0)