Skip to content

Commit 598110c

Browse files
authored
Merge pull request #42 from pennlabs/james/change-oidc-redirect-uri
change oidc redirect uri to correct one
2 parents 568ff95 + bfed6ef commit 598110c

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/lib/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const PLATFORM_URL = process.env.PLATFORM_URL;
2020
export const CLIENT_ID = process.env.CLIENT_ID;
2121
export const CLIENT_SECRET = process.env.CLIENT_SECRET;
2222

23-
export const OIDC_REDIRECT_URI = `${BASE_URL}/callback`; // TODO: needs to be /api/callback not /callback
23+
export const OIDC_REDIRECT_URI = `${BASE_URL}/api/callback`;
2424
export const OIDC_AUTHORIZATION_ENDPOINT = `${PLATFORM_URL}/accounts/authorize/`;
2525
export const OIDC_TOKEN_ENDPOINT = `${API_BASE_URL}/accounts/token/`;
2626

0 commit comments

Comments
 (0)