diff --git a/packages/auth/src/const.ts b/packages/auth/src/const.ts index 48bde761e6..5b50c0b4df 100644 --- a/packages/auth/src/const.ts +++ b/packages/auth/src/const.ts @@ -6,7 +6,7 @@ type UserWithRoles = UserInfoResponse & { } const concatPath = reduce( - `http://${window.location.host}`, + `${window.location.protocol}://${window.location.host}`, (accumulator: string, current: string) => `${accumulator}${current}`, )