Skip to content
  • SSO using SAML in nodebb

    Unsolved Technical Support
    1
    0 Votes
    1 Posts
    43 Views
    N
    Hello, I am working on integrating SAML in my nodebb forum with my paradiso server. they have done from their side and provide me an xml file that has this fields:- <?xml version="1.0"?> <md:EntityDescriptor xmlns:md="Some confidential details" xmlns:ds="Some confidential details" entityID="Some confidential details">   <md:IDPSSODescriptor protocolSupportEnumeration="Some confidential details">     <md:KeyDescriptor use="Some confidential details">       <ds:KeyInfo xmlns:ds="Some confidential details">         <ds:X509Data>           <ds:X509Certificate>"Some confidential details"</ds:X509Certificate>         </ds:X509Data>       </ds:KeyInfo>     </md:KeyDescriptor>     <md:KeyDescriptor use="Some confidential details">       <ds:KeyInfo xmlns:ds="Some confidential details">         <ds:X509Data>           <ds:X509Certificate>"Some confidential details"</ds:X509Certificate>         </ds:X509Data>       </ds:KeyInfo>     </md:KeyDescriptor>     <md:SingleLogoutService Binding="Some confidential details" Location="Some confidential details"/>     <md:NameIDFormat>"Some confidential details"</md:NameIDFormat>     <md:SingleSignOnService Binding="Some confidential details" Location="Some confidential details"/>   </md:IDPSSODescriptor> </md:EntityDescriptor> and i am doing it with the nodebb-plugin-sso-saml and Passport-SAML but stuck as i am not getting the response please guide us. how can i integrate SAML as a sp
  • Testing nodebb-plugin-sso-google

    Solved Technical Support
    14
    0 Votes
    14 Posts
    732 Views
    ww9riversW
    @baris Thank you for the quick fix! It works now.
  • A more standardised SSO implementation

    NodeBB Development
    7
    2 Votes
    7 Posts
    764 Views
    traarrrT
    Hi all, how can we make this plugin compatible with SAML 2.0 configuration of SSO @julian
  • 0 Votes
    12 Posts
    1k Views
    K
    Thanks a lot everybody for the contributions to this discussion! Your recommendations were all useful to better understanding the plugin and finally realise a prototype against 10Duke. Cheers, R
  • Setting Up Single Sign-on For NodeBB

    Tutorials
    1
    3 Votes
    1 Posts
    1k Views
    mooredsM
    Hiya, I wrote a tutorial about setting up single sign-on for NodeBB. Full disclosure, I wrote it using my employers OAuth server (FusionAuth) as the user identity provider. But the plugin and steps should work with any OAuth server. The plugin is here: https://github.com/FusionAuth/nodebb-plugin-fusionauth-oidc
  • OpenLDAP Plugin with Group Sync

    Plugin Development
    1
    0 Votes
    1 Posts
    366 Views
    M
    Hi! I wrote a plugin for OpenLDAP. It overrides the default login and falls back to local login if the user is not found in LDAP. It also creates all groups found in LDAP and automatically joins the user into them. Using it as an alternative login is not implemented as I couldn't figure it out quick enough. It should be easy to do - feel free to add a pull request. The source is on github. Pull requests are welcome! Please be kind, my JavaScript skills are limited.
  • 0 Votes
    3 Posts
    967 Views
    GeferonG
    I think I managed to find the solution to your issue @gorgiselkov I'm guessing you're using IIS but if not it might help as well. Here: https://community.nodebb.org/post/72229
  • Is there some nodebb-plugin-sso-auth0 user ?

    NodeBB Plugins
    9
    1 Votes
    9 Posts
    3k Views
    Nethrah AyyaswamiN
    @khalid-kunji did u get this working? I am getting the same error.
  • Django SSO serveur with nodebb sso client

    NodeBB Plugins
    1
    0 Votes
    1 Posts
    1k Views
    remydevR
    Hello, I'm working on a SSO integration from a django SSO. In my django project i add 'oauth2_provider' https://django-oauth-toolkit.readthedocs.io/en/latest/ And i get this : [image: gRuoX3M.png] On the nodebb side, I started from the plugin https://github.com/julianlam/nodebb-plugin-sso-oauth Which I modified as a result: The config.json file "oauth": { "id": "rs2yEx7aqrj7ZIgVRC9IFL7p0DyIjQwWPST4BqVW", "secret": "6A678EDFqAYtl0sALS5rqk2mfhlBQi0HIgoGH5mPaeIpnZGni8BdOFiv" }, and in the library.js) i change this lignes var constants = Object.freeze({ type: 'oauth2', // Either 'oauth' or 'oauth2' name: 'nodebb_django', // Something unique to your OAuth provider in lowercase, like "github", or "nodebb" oauth: { requestTokenURL: '', accessTokenURL: '', userAuthorizationURL: '', consumerKey: nconf.get('oauth:key'), // don't change this line consumerSecret: nconf.get('oauth:secret'), // don't change this line }, oauth2: { authorizationURL: 'https://beta.esprit-bourse.com/oauth/authorize', tokenURL: 'https://beta.esprit-bourse.com/oauth/token', clientID: nconf.get('oauth:id'), // don't change this line clientSecret: nconf.get('oauth:secret'), // don't change this line }, userRoute: '' // This is the address to your app's "user profile" API endpoint (expects JSON) }), I've never programmed in JS nodes, so I don't really know what to do, and I don't understand all the code. I may have to change the information as indicated. Update profile information (around line 137 of library. js). But there is no user account to use the Oauth system After a git clone, i can't enable the plugin so i think there is something else to change. if someone can help me I will document everything for the link Oauth django/nodeBB. Otherwise, I'll keep the site and forum separate.
  • NodeBB - Drupal connect using OAuth

    General Discussion
    3
    0 Votes
    3 Posts
    2k Views
    A
    Is there any progress on this, as I am also interested in using Drupal with NodeBB.
  • 0 Votes
    7 Posts
    4k Views
    barisB
    @livey0u It is just a requirejs module so just require it. require(['components'], function (components) { components.get('user/logout').off('click').on('click', function() { // your custom behaviour here }); });
  • 0 Votes
    1 Posts
    1k Views
    kacemlightK
    After uptgarding (reinstallation) of nodebb, this plugins return error and don't work at all. After app starting, I got this warn message: 7/11 12:20 [31705] - warn: [meta/dependencies] Bundled plugin nodebb-plugin-dbsearch not found, skipping dependency check. 17/11 12:21 [31705] - warn: [plugins/nodebb-plugin-sso-github] Hook filter:user.delete is deprecated, please use an alternative 17/11 12:21 [31705] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative 17/11 12:21 [31705] - warn: [plugins/nodebb-plugin-sso-twitter] Hook filter:user.delete is deprecated, please use an alternative 17/11 12:21 [31705] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME to disable it. nodebb-plugin-imgur nodebb-plugin-sso-facebook nodebb-plugin-sso-github nodebb-plugin-sso-google nodebb-plugin-sso-twitter nodebb-plugin-composer-redactor nodebb-plugin-custom-pages nodebb-plugin-desktop-notifications nodebb-plugin-rss nodebb-plugin-youtube 17/11 12:21 [31705] - info: [User-Invitations] Initializing User-Invitations... 17/11 12:21 [31705] - info: [plugins/spam-be-gone] Settings loaded 17/11 12:21 [31705] - info: [User-Invitations] Synced settings: defaultInvitations=10, restrictRegistration=0, invitedUsers=[], inviteGroup=registered-users 17/11 12:21 [31705] - warn: [plugin/composer-redactor] Another composer plugin is active! Please disable all other composers. 17/11 12:21 [31705] - info: NodeBB Ready 17/11 12:21 [31705] - info: NodeBB is now listening on: 0.0.0.0:4567 list itemWhen I try to login with Facebook, I got: L’URL fournie n’est pas autorisée par la configuration de l’application.: Une ou plusieurs URL fournies ne sont pas autorisées par les paramètres de l’application. Elle(s) doi(ven)t correspondre à l’URL du site ou du Canevas, ou le domaine doit être un sous-domaine de l’un des domaines de l’application. With googleplus: list item400. That’s an error. Error: redirect_uri_mismatch list itemWith twitter and github I get the same Error. With the ancien version of nodebb, all this sso login worked fine. Please can somone help me to resolve this problem ??
  • [nodebb-plugin-sso-ok] Odniklassniki

    NodeBB Plugins
    5
    2 Votes
    5 Posts
    3k Views
    S
    I apologize for such a dirty job.
  • [nodebb-plugin-sso-vk] Vkontakte reabilitate

    NodeBB Plugins
    4
    1 Votes
    4 Posts
    3k Views
    S
  • Facebook SSO-- redirect

    General Discussion
    1
    0 Votes
    1 Posts
    1k Views
    B
    I've embedded the forum into the iframe of my website and am currently using Facebook SSO. However, whenever I try to log into Facebook, it redirects me to the Facebook page then to my nodebb website after signing in. Does anyone know how to make the Facebook SSO redirect to my website or have the FB login be a popup window?
  • Help with SSO plugin (my first plugin)

    Plugin Development
    6
    0 Votes
    6 Posts
    4k Views
    julianJ
    I'd add some client side code that checks for the cookie existing, and react (redirect) appropriately
  • 4 Votes
    4 Posts
    3k Views
    J
    Finaly managed to fix 502, needed to use node v4 instead of v6. Still having an issue with this plugin when i try to login : Registration Error int-steam-unexpected-error
  • Spiceworks SSO Login

    Plugin Requests
    1
    0 Votes
    1 Posts
    2k Views
    terfexT
    Hey has anyone looked into building a plugin that allows users to login with their Spiceworks account. Spiceworks have documented all the info required here on their Github site: https://spiceworks.github.io/developers.spiceworks.com//documentation/share/#login_with_spiceworks. With a 6 Million strong user base, this could be very handy.
  • Problem with avatar (Twitter SSO)

    Technical Support
    2
    0 Votes
    2 Posts
    2k Views
    Wojciech LisikW
    In nodebb: Admin > Location & APIs > SSO > Twitter > Add new api token. In Twitter: (User menu > Settings > API > generate SSO.