327a84f222
The action:user.create hook in NodeBB was recently changed to filter.user:create, which allows the OAuth.deleteUserData method to remove OAuth data for the user more directly.
16 lines
568 B
JSON
16 lines
568 B
JSON
{
|
|
"id": "nodebb-plugin-sso-oauth",
|
|
"name": "NodeBB OAuth SSO",
|
|
"description": "NodeBB Plugin that allows users to login/register via any configured OAuth provider.",
|
|
"url": "https://github.com/julianlam/nodebb-plugin-sso-oauth",
|
|
"library": "./library.js",
|
|
"hooks": [
|
|
{ "hook": "action:app.load", "method": "init" },
|
|
{ "hook": "filter:user.delete", "method": "deleteUserData" },
|
|
{ "hook": "filter:auth.init", "method": "getStrategy" },
|
|
{ "hook": "filter:admin.header.build", "method": "addMenuItem" }
|
|
],
|
|
"templates": "./templates",
|
|
"minver": "0.4.0"
|
|
}
|