mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-27 17:02:55 +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`.
13 lines
245 B
YAML
Vendored
13 lines
245 B
YAML
Vendored
en:
|
|
js:
|
|
login:
|
|
oauth2_basic:
|
|
name: "OAuth 2"
|
|
admin:
|
|
site_settings:
|
|
categories:
|
|
discourse_oauth2_basic: "OAuth2 Login"
|
|
config:
|
|
login:
|
|
sub_pages:
|
|
oauth2: "OAuth2"
|