diff --git a/src/shared/modules/auth/helpers.js b/src/shared/modules/auth/helpers.js index 27430acba50..13df8d4621c 100644 --- a/src/shared/modules/auth/helpers.js +++ b/src/shared/modules/auth/helpers.js @@ -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) diff --git a/src/shared/modules/auth/index.js b/src/shared/modules/auth/index.js index 1463b9c10ba..7652addb32f 100644 --- a/src/shared/modules/auth/index.js +++ b/src/shared/modules/auth/index.js @@ -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 = {