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:
Anton Gunnarsson
2025-05-06 09:16:46 +00:00
parent 73c2af2766
commit fbeb23c2aa
2 changed files with 0 additions and 2 deletions

View File

@@ -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

View File

@@ -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> = {