-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathplugin.json
More file actions
22 lines (22 loc) · 829 Bytes
/
plugin.json
File metadata and controls
22 lines (22 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"id": "nodebb-plugin-sso-oauth2-multiple",
"name": "NodeBB Multiple OAuth2 SSO",
"description": "NodeBB Plugin that configures multiple OAuth2 login endpoints",
"url": "https://github.com/nodebb/nodebb-plugin-sso-oauth2-multiple",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "static:api.routes", "method": "addRoutes" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "static:user.delete", "method": "deleteUserData" },
{ "hook": "filter:user.whitelistFields", "method": "whitelistFields" },
{ "hook": "filter:auth.init", "method": "loadStrategies" }
],
"modules": {
"../admin/plugins/sso-oauth2-multiple.js": "./static/lib/admin.js"
},
"acpScripts": [
"static/lib/acp.js"
],
"templates": "static/templates"
}