[nodebb-plugin-ns-custom-fields] NS Custom Fields

NodeBB Plugins

Suggested Topics


  • 13 Votes
    17 Posts
    11k Views

    I dont know how is this auth process works with jwt.
    I have nodebb in forum.example.com and nodejs app in example.com. And reverse proxy with nginx. I have few question:

    -When user logins or signs up which route we should POST method to?
    -Do I need to install npm install jsonwebtoken?
    -Is this JWT Secret key obtained from jwt.io website?
    -How can I save a cookie to user browser?
    -When I achieve all this and users logins with nodebb credentials how can i access to current logged in user info?
    -Do I need to include the user's passwords to Json web token?
    -Do I need to set secret in nodebb admin panel?

    Edit:So I did some googling and what I understand I need to post the user info to some expressjs route on my app and generate the Json web token in backend and use some cookie plugin for nodejs. But my last two question is remain unclear for me.
    @julian

  • 3 Votes
    13 Posts
    7k Views

    @nicolas i has a external website, when access website i use ajax make request login 'api/ns/login'... i received object user . but i do not received notification at external website.
    socket.uid at serve = 0.
    can you help me ?
    sorry if i write less english.

  • 0 Votes
    15 Posts
    7k Views

    @RichG Embedly has a pretty decent API which you can potentially call from the NodeBB server instance - it will give you a fair bit of data from the page that you're trying to embed, in JSON format. Up to you how to use that data.

    Once I have a stable and scalable "vanilla" NodeBB, want to look at using their API on NodeBB.

  • 10 Votes
    29 Posts
    21k Views

    Same situation here. I would love to use this theme but is not working with the current NodeBB version.

    Any suggestion of related themes or idea about if it's discontinued?

  • 19 Votes
    122 Posts
    97k Views

    @psychobunny Hey! Good to see you're still out there lol. I used to do some modding on phpBB3, and had ported a good portion of ADR to the phpBB3 system about the time you started on this project, it looks like. I would love to get in touch and see if we could maybe continue this project, or if you'd be willing to collaborate on something similar.