Merged in chore/remove-env-log (pull request #1966)
Don't log entire process.env * Don't log entire process.env * Don't log entire env on logout Approved-by: Michael Zetterberg
This commit is contained in:
@@ -85,7 +85,6 @@ export async function GET(
|
||||
try {
|
||||
redirectTo = `${env.CURITY_ISSUER_USER}/authn/authenticate/logout?redirect_uri=${encodeURIComponent(redirectTo)}`
|
||||
console.log(`[logout] final redirectUrl: ${redirectTo}`)
|
||||
console.log({ logout_env: process.env })
|
||||
|
||||
/**
|
||||
* Passing `redirect: false` to `signOut` will return a result object
|
||||
|
||||
@@ -112,7 +112,6 @@ export async function GET(
|
||||
|
||||
try {
|
||||
console.log(`[login] final redirectUrl: ${redirectTo}`)
|
||||
console.log({ login_env: process.env })
|
||||
|
||||
/** Record<string, any> is next-auth typings */
|
||||
const params: Record<string, any> = {
|
||||
|
||||
Reference in New Issue
Block a user