Skip to content
  • Invalid CSRF on dev install

    Solved Technical Support
    4
    0 Votes
    4 Posts
    572 Views
    phenomlabP

    @ufan0 Please see this thread

    Link Preview Image Invalid CSRF on dev install

    @小城风雨多 Occasionally I tried to change the url in config.json from https to http. It works! Amazing! Thanks a lot!

    favicon

    Sudonix | A one-stop-shop for all your technology questions (sudonix.org)

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

  • 1 Votes
    4 Posts
    3k Views
    julianJ

    Thanks for the update @amarinelli

  • 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

  • Invalid CSRF token

    NodeBB Development
    8
    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.

  • CSRF

    NodeBB Development
    6
    1 Votes
    6 Posts
    3k Views
    julianJ

    Re: gh#2424