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