forked from julianlam/nodebb-plugin-sso-oauth
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathplugin.json
41 lines (41 loc) · 982 Bytes
/
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
{
"id": "nodebb-plugin-fusionauth-oidc",
"name": "OpenID Connect Plugin for NodeBB",
"description": "Authenticate to FusionAuth or any OpenID Connect identity provider.",
"url": "https://github.com/FusionAuth/nodebb-plugin-fusionauth-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"
}
],
"modules": {
"../admin/plugins/fusionauth-oidc.js": "static/lib/admin.js"
}
}