mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 02:10:08 +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
358 B
YAML
17 lines
358 B
YAML
en:
|
|
admin_js:
|
|
admin:
|
|
site_settings:
|
|
categories:
|
|
discourse_openid_connect: "Discourse OpenID Connect"
|
|
config:
|
|
login:
|
|
sub_pages:
|
|
oidc: "OIDC"
|
|
|
|
js:
|
|
login:
|
|
oidc:
|
|
name: "OpenID Connect"
|
|
title: "with OpenID Connect"
|
|
message: "Authenticating with OpenID Connect"
|