Possibility to configure an OpenID Connect provider on the instance level WIP (#128).

This commit is contained in:
John Livingston
2024-04-17 18:30:39 +02:00
parent 3a5f27e751
commit 6c13d2e377
9 changed files with 139 additions and 24 deletions

View File

@ -71,7 +71,8 @@ async function initOIDCRouter (options: RegisterServerOptions): Promise<Router>
{},
externalAccountInfos,
{
password: '**removed**' // removing the password from logs!
password: '**removed**', // removing the password from logs!
token: '**removed**' // same as password
}
)
))
@ -85,8 +86,7 @@ async function initOIDCRouter (options: RegisterServerOptions): Promise<Router>
res.send(popupResultHTML({
ok: true,
jid: externalAccountInfos.jid,
password: externalAccountInfos.password
token: externalAccountInfos.token
}))
} catch (err) {
logger.error('[oidc router] Failed to process the OIDC callback: ' + (err as string))