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

This commit is contained in:
John Livingston
2024-04-16 11:43:38 +02:00
parent 514cc1d159
commit e646ebfd69
8 changed files with 108 additions and 24 deletions

View File

@ -79,7 +79,11 @@ async function getConverseJSParams (
const oidc = ExternalAuthOIDC.singleton()
// TODO:
const externalAuthOIDC = await oidc.isOk() ? undefined : undefined
const externalAuthOIDC = await oidc.isOk()
? {
buttonLabel: oidc.getButtonLabel() ?? '???'
}
: undefined
return {
peertubeVideoOriginalUrl: roomInfos.video?.url,