We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
redirectProxyUrl
1 parent 0ded94c commit f45f04fCopy full SHA for f45f04f
packages/frameworks-express/src/index.ts
@@ -164,6 +164,7 @@ export function ExpressAuth(
164
): ReturnType<typeof ExpressAuthHandler> {
165
const { ...authOptions } = config
166
authOptions.secret ??= process.env.AUTH_SECRET
167
+ authOptions.redirectProxyUrl ??= process.env.AUTH_REDIRECT_PROXY_URL
168
authOptions.trustHost ??= !!(
169
process.env.AUTH_TRUST_HOST ??
170
process.env.VERCEL ??
0 commit comments