mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
Moved URLs to .env
This commit is contained in:
@@ -41,7 +41,10 @@ class MemoryUserInfoCache implements IUserInfoCache {
|
|||||||
export const fiefAuth = new FiefAuth({
|
export const fiefAuth = new FiefAuth({
|
||||||
client: fiefClient,
|
client: fiefClient,
|
||||||
sessionCookieName: SESSION_COOKIE_NAME,
|
sessionCookieName: SESSION_COOKIE_NAME,
|
||||||
redirectURI: "http://localhost:3000/auth-callback",
|
redirectURI:
|
||||||
logoutRedirectURI: "http://localhost:3000",
|
process.env.NEXT_PUBLIC_AUTH_CALLBACK_URL ||
|
||||||
|
"http://localhost:3000/auth-callback",
|
||||||
|
logoutRedirectURI:
|
||||||
|
process.env.NEXT_PUBLIC_SITE_URL || "http://localhost:3000",
|
||||||
userInfoCache: new MemoryUserInfoCache(),
|
userInfoCache: new MemoryUserInfoCache(),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user