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

  • Default (No Skin)
  • No Skin
Collapse
v3.4.2 Latest
Buy Hosting
    • All categories
    Load new posts
Log in to post
  • dogsD

    Is there a equivalent to 'req.session.returnTo' clientside?

    Scheduled Pinned Locked Moved Solved Plugin Development nodebb plugin redirect
    0 Votes
    5 Posts
    683 Views
    dogsD

    @pitaj Nice that was easy! Thank you 🙂

  • magnusvhendinM

    Redirect to login

    Scheduled Pinned Locked Moved Solved Plugin Development registration redirect
    0 Votes
    16 Posts
    1k Views
    F

    Hello @jalathpc_demo

    I tried to create a patch:
    https://github.com/LM1LC3N7/nodebb-plugin-private-forum/releases/tag/v1.3.1

    I no longer have a NodeBB instance, so let me know if it works (I am honestly not sure, as /logout should be allowed as you are logged in.

    It would be interesting to check if req.loggedIn is correctly set when using SSO. This could be why the plugin is not working as you need.

    NPM link: https://www.npmjs.com/package/nodebb-plugin-private-forum/v/1.3.1

  • Dustin FalgoutD

    How can I redirect user to a URL after successful Logout?

    Scheduled Pinned Locked Moved NodeBB Development sso redirect
    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 }); });
  • A

    After registration it doesn't redirect me to what I was doing

    Scheduled Pinned Locked Moved Bug Reports sso redirect google+
    0 Votes
    3 Posts
    2k Views
    barisB

    Redirect after oauth login · Issue #1885 · NodeBB/NodeBB

    Is there a way to implement redirect to previous page after oauth login, like at original login page /login?next=admin I mean something like this /auth/oauth?next=admin

    favicon

    GitHub (github.com)

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.