forked from Sunbird-Lern/nodebb-plugin-sunbird-oidc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.json
50 lines (50 loc) · 1.11 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"id": "nodebb-plugin-sunbird-oidc",
"name": "Sunbird SSO Plugin for NodeBB",
"description": "Authenticate to Sunbird identity provider.",
"url": "https://github.com/vrayulu/nodebb-plugin-sunbird-oidc",
"library": "./library.js",
"templates": "templates",
"hooks": [
{
"hook": "static:app.load",
"method": "init"
},
{
"hook": "static:user.delete",
"method": "deleteUserData"
},
{
"hook": "filter:user.whitelistFields",
"method": "whitelistFields"
},
{
"hook": "filter:auth.init",
"method": "bindStrategy"
},
{
"hook": "filter:admin.header.build",
"method": "bindMenuOption"
},
{
"hook": "action:settings.set",
"method": "bindStrategy"
},
{
"hook": "filter:user.logout",
"method": "redirectLogout"
},
{
"hook": "filter:category.getFields",
"method": "categoryRead"
},
{
"hook": "filter:topic.getFields",
"method": "topicRead"
},
{"hook": "filter:topic.create", "method": "topicCreate" }
],
"acpScripts": [
"static/lib/admin.js"
]
}