OpenID Connect documentation + cleaning.

This commit is contained in:
John Livingston
2024-04-19 11:03:50 +02:00
parent 7afcbcf1a2
commit 3d3bb2bd27
41 changed files with 7175 additions and 361 deletions

View File

@ -181,6 +181,12 @@ function initExternalAuth (options: RegisterServerOptions): void {
descriptionHTML: loc('external_auth_description')
})
registerSetting({
type: 'html',
private: true,
descriptionHTML: loc('external_auth_custom_oidc_title')
})
registerSetting({
type: 'html',
private: true,
@ -239,27 +245,11 @@ function initExternalAuth (options: RegisterServerOptions): void {
private: true
})
// registerSetting({
// name: 'external-auth-custom-oidc-scope',
// label: loc('external_auth_custom_oidc_scope_label'),
// descriptionHTML: loc('external_auth_custom_oidc_scope_description'),
// type: 'input',
// private: true,
// default: 'openid profile'
// })
// registerSetting({
// name: 'username-property',
// label: 'Username property',
// type: 'input',
// private: true,
// default: 'preferred_username'
// })
// registerSetting({
// name: 'display-name-property',
// label: 'Display name property',
// type: 'input',
// private: true
// })
// FIXME: adding settings for these?
// - scope (default: 'openid profile')
// - user-name property
// - display-name property
// - picture property
}
/**