5df4097aa0
Removes the user's oAuthId-to-uid mapping from Redis upon user deletion. This fixes an issue where OAuth services could not link to a user if a user account was deleted and then re-created.
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": "action:user.delete", "method": "deleteUserData" },
|
|
{ "hook": "filter:auth.init", "method": "getStrategy" },
|
|
{ "hook": "filter:admin.header.build", "method": "addMenuItem" }
|
|
],
|
|
"templates": "./templates",
|
|
"minver": "0.4.0"
|
|
}
|