Skip to content

Commit

Permalink
Fix crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarDamkjaer committed Jul 26, 2021
1 parent 2fb5590 commit 673b96e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/modules/auth/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const addSearchParamsInBrowserHistory = paramsToAddObj => {
}
})

const newUrlSearchParams = new URLSearchParams(cleansedSearchParams)
const newUrlSearchParams = new URLSearchParams(searchParams)

const newUrl = `${window.location.origin}?${newUrlSearchParams.toString()}`
window.history.replaceState({}, '', newUrl)
Expand Down
1 change: 1 addition & 0 deletions src/shared/modules/auth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export const authRequestForSSO = idpId => {
const codeVerifier = createCodeVerifier(codeChallengeMethod)
window.sessionStorage.setItem(AUTH_STORAGE_CODE_VERIFIER, codeVerifier)

debugger
createCodeChallenge(codeChallengeMethod, codeVerifier).then(
codeChallenge => {
params = {
Expand Down

0 comments on commit 673b96e

Please sign in to comment.