• 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
  • phenomlabP

    Invalid CSRF on dev install

    Scheduled Pinned Locked Moved Solved Technical Support csrf
    0 Votes
    2 Posts
    365 Views
    phenomlabP

    Fixed 🙂

    I should have remembered that this database is from PROD, therefore, the cookie domain would need to be deleted. Issuing db.objects.update({_key: "config"}, {$set: {cookieDomain: ""}}); in the target DB under MongoDB, then restarting nodebb resolved the issue.

    Able to login 🙂

  • TzA-0x000000001T

    Openshift - How can I fix csrf-invalid ?

    Scheduled Pinned Locked Moved General Discussion openshift nginx csrf error
    0 Votes
    1 Posts
    1k Views
    TzA-0x000000001T

    Hello.

    I know this was asked so much times on the forum, but I've actually a problem since I use the NodeJS build from Openshift. I saw everywhere that I had to change the nginx configuration file, but I don't how to achieve that with my current configuration.
    I tried to install nginx, but it failed to resolve the issue.

    So, I was thinking that someone found a fix or a way to edit nginx configuration with Openshift.

    Thank you for your attention,
    Best regards.

  • amarinelliA

    Failed login attempt, forbidden, invalid csrf token

    Scheduled Pinned Locked Moved Solved Technical Support error failure csrf login v0.8.1
    1 Votes
    4 Posts
    3k Views
    julianJ

    Thanks for the update @amarinelli

  • Moritz FriedrichM

    CSRF error when logging in after URL change

    Scheduled Pinned Locked Moved Technical Support csrf login
    0 Votes
    6 Posts
    3k Views
    julianJ

    @Moritz-Friedrich said:

    Weird enough, I just realized that at the old subdomain (as a CNAME) logging in is still possible...

    Default this is not set to anything, so this doesn't need to be set... afaik

  • R

    Invalid CSRF token

    Scheduled Pinned Locked Moved NodeBB Development 0.6.0 csrf
    0 Votes
    8 Posts
    6k Views
    mootzvilleM

    I figured out my issue...

    MongoDB user I was using had a readWrite role, but I guess it needs the dbAdmin role as well. When I tried creating a new user in the nodebb admin area, then it would make things go wonky without the dbAdmin role and result in invalid csrf tokens.

  • B

    CSRF

    Scheduled Pinned Locked Moved NodeBB Development csrf
    1 Votes
    6 Posts
    3k Views
    julianJ

    Re: gh#2424

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.