How to implement nodebb-plugin-sso-oauth
-
Hello,
can anyone please tell me how to implement this plugin.. i have implement endpoint on my server side.. In this below link
https://github.com/julianlam/nodebb-plugin-sso-oauth,
they say these steps:--
Fork this plugin
Add the OAuth credentials (around line 30 of library.js)
Update profile information (around line 137 of library.js) with information from the user API call
Activate this plugin from the plugins page
Restart your NodeBB
Let NodeBB take care of the restI have some confusion.. after editing library.js file,
do i need to uppload this plugin code in nodebb_modules directory ??
what do you mean by " Update profile information (around line 137 of library.js) with information from the user API call"..??please help me asap..
Thanks
Shikha -
@shikha said:
Activate this plugin from the plugins page
Did you get this working? I have forked the plugin on GitHub but I don't see how to activate my plug-in in my NodeBB. My plugin doesn't show up in the list of available plugins. Do I have to register my plugin somehow? Its name starts with nodebb-plugin-sso-
-
@danielflippance what steps did you take after forking the plugin on GitHub?
You can have the plugin show up in the plugins page 2 ways (not sure if there are more)
- Publish your plugin to NPM with the proper NodeBB compatibility setting and it will show up in the plugins page.
- Clone the plugin folder to the node_modules folder of your NodeBB installation.
-
Thanks @pichalite that solved my issue