mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-25 12:55:00 +08:00
This splits the Login and Authentication admin page into multiple
sections: Settings, social logins, DiscourseConnect, OAuth2.0, OIDC.
Internal ticket `t/161648`
This PR also adds a new extension point for plugins that want to extend
this area of the app.
```
register_site_setting_area("oauth2")
register_admin_config_login_route("oauth2")
```
Adding this to a plugin allows it to extend both the setting areas
(existing functionality) and add a tab to this admin settings screen via
`register_admin_config_login_route`.
20 lines
454 B
YAML
Vendored
20 lines
454 B
YAML
Vendored
plugins:
|
|
microsoft_auth_enabled:
|
|
client: true
|
|
default: false
|
|
area: "authenticators"
|
|
microsoft_auth_client_id:
|
|
client: false
|
|
default: ""
|
|
area: "authenticators"
|
|
microsoft_auth_client_secret:
|
|
client: false
|
|
default: ""
|
|
area: "authenticators"
|
|
microsoft_auth_email_verified:
|
|
default: false
|
|
area: "authenticators"
|
|
microsoft_auth_tenant_id:
|
|
client: false
|
|
default: "common"
|
|
area: "authenticators"
|