Update src/pages/api/user/index.ts
This commit is contained in:
parent
2f31305796
commit
9c17b4e48d
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ async function handler(req: NextApiReq, res: NextApiRes, user: UserExtended) {
|
|||
redirect_uri: authentik_auth.oauth_url(
|
||||
zconfig.oauth.authentik_client_id,
|
||||
`${zconfig.core.return_https ? 'https' : 'http'}://${req.headers.host}`,
|
||||
config.oauth.authentik_authorize_url
|
||||
zconfig.oauth.authentik_authorize_url
|
||||
),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue