• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

A

anas ameziane

@anas ameziane
About
Posts
5
Topics
2
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    RE: Why access to REST API "not-authorized" ?
  • A anas ameziane

    Hello,

    I have the same issue. In the beginning the API calls works great. but after rebooting nodeBB API become inaccessible:
    curl -i http://127.0.0.1:4567/api/groups
    HTTP/1.1 401 Unauthorized
    X-Powered-By: NodeBB
    X-Frame-Options: SAMEORIGIN
    Content-Type: application/json; charset=utf-8
    Content-Length: 16
    ETag: W/"10-vtDQr4TNdqPmUlGMXxiHnw"
    set-cookie: express.sid=s%3At24DNKdbFbQj-4EZ9sr7xaKObOuhgqP9.yb6jCZG%2BSYPIW7AOsEfSiu6rs4ZwES4k5cEG5tm6QIs; Path=/; Expires=Thu, 31 Mar 2016 18:45:00 GMT; HttpOnly
    Vary: Accept-Encoding
    Date: Thu, 17 Mar 2016 18:45:00 GMT
    Connection: keep-alive

    "not-authorized"

    any idea

    Thanks.


  • RE: Is there any hook that get called before loading any pages ?
  • A anas ameziane

    @julian i don't understand what do you mean by "cold" page... I finally found this hook "static:app.preload", but there is no documentation or exemple to how to use it.


  • Is there any hook that get called before loading any pages ?
  • A anas ameziane

    Is there any hook that get called before loading any pages ?


  • RE: Automatically authenticate users on nodebb using the session cookie passed in the redirect
  • A anas ameziane

    @julian I would like to clarify that the web application in PHP, moreover it is not on the same host as nodebb. However, their domain names are the following:

    • app.mydomain.fr
    • forum.mydomain.fr

    I add the user access token in the cookie. but I do not think I can share user session between the app and nodebb.
    I do not know how can I use the cookie and the access token via hooks into nodebb.


  • Automatically authenticate users on nodebb using the session cookie passed in the redirect
  • A anas ameziane

    Hi,
    First, I apologize for my English ...
    I have a web application which users authenticate via oauth. In the web application I have a link to redirect to nodebb. The need is to automatically authenticate users on nodebb using the session cookie passed in the redirect (SSO).
    how can I use the plugin system to meet the need.
    Thank you

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.