mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-27 13:36:58 +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`.
17 lines
341 B
YAML
Vendored
17 lines
341 B
YAML
Vendored
plugins:
|
|
sign_in_with_apple_enabled:
|
|
default: false
|
|
area: "authenticators"
|
|
apple_client_id:
|
|
default: ''
|
|
area: "authenticators"
|
|
apple_team_id:
|
|
default: ''
|
|
area: "authenticators"
|
|
apple_key_id:
|
|
default: ''
|
|
area: "authenticators"
|
|
apple_pem:
|
|
default: ''
|
|
textarea: true
|
|
area: "authenticators"
|