Update index.ts
This commit is contained in:
parent
9c17b4e48d
commit
5790a0c449
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}`,
|
||||
zconfig.oauth.authentik_authorize_url
|
||||
zconfig.oauth.authentik_authorize_url
|
||||
),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue