Skip to content

Commit f7e01fa

Browse files
committed
Remove depth header
1 parent fe9fd7b commit f7e01fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/security/getToken.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ async function getToken(oidcConfiguration: OidcConfiguration, codeVerifier: stri
77
const params = new URLSearchParams();
88
params.append("grant_type", "authorization_code");
99
params.append("code", authCode);
10-
params.append("redirect_uri", "http://localhost:3000");
10+
params.append("redirect_uri", window.location.href);
1111
params.append("code_verifier", codeVerifier);
1212
params.append("client_id", clientId);
1313
params.append("client_secret", clientSecret);

0 commit comments

Comments
 (0)