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

Get avatar from remote service.
This commit is contained in:
John Livingston
2024-04-18 18:25:14 +02:00
parent 2334a5f861
commit 8a65f447c8
6 changed files with 121 additions and 15 deletions

View File

@ -72,7 +72,10 @@ async function initOIDCRouter (options: RegisterServerOptions): Promise<Router>
externalAccountInfos,
{
password: '**removed**', // removing the password from logs!
token: '**removed**' // same as password
token: '**removed**', // same as password
avatar: externalAccountInfos.avatar
? `**removed** ${externalAccountInfos.avatar.mimetype} avatar`
: undefined
}
)
))