Custom plugin



  • I am trying to create a custom plugin to read some cookie info created within the same domain but a different app. Its not able to read the plugin.json, is it valid Path to read local plugin thats not in Git.

    {
    "id": "nodebb-plugin-sso-xxx",
    "name": "NodeBB XXX SSO",
    "description": "NodeBB Plugin",
    "url": "C:/NodeBB/NodeBB/plugins/",
    "library": "./library.js",
    "hooks": [
    { "hook": "filter:auth.init", "method": "getStrategy" }
    ]
    }


  • Community Rep

    The plugin must be located in NodeBB/node_modules/nodebb-plugin-sso-xxx/



  • Do i need to run the link commands?


Log in to reply
 

Suggested Topics

| |