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

This commit is contained in:
John Livingston
2024-04-16 17:18:14 +02:00
parent e646ebfd69
commit 669b260307
11 changed files with 158 additions and 24 deletions

View File

@ -37,7 +37,7 @@ export const livechatSpecificsPlugin = {
for (const k of [
'hide_muc_participants',
'livechat_enable_viewer_mode',
'livechat_external_auth_oidc_button_label',
'livechat_external_auth_oidc_button_label', 'livechat_external_auth_oidc_url',
'livechat_mini_muc_head'
]) {
_converse.api.settings.set(k, params[k])

View File

@ -9,7 +9,8 @@ export const livechatViewerModePlugin = {
livechat_enable_viewer_mode: false,
livechat_peertube_video_original_url: undefined,
livechat_peertube_video_uuid: undefined,
livechat_external_auth_oidc_button_label: undefined
livechat_external_auth_oidc_button_label: undefined,
livechat_external_auth_oidc_url: undefined
})
const originalGetDefaultMUCNickname = _converse.getDefaultMUCNickname