Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid CSRF token found for /workflow-manager/login #1495

Closed
jrobble opened this issue Feb 24, 2022 · 0 comments
Closed

Invalid CSRF token found for /workflow-manager/login #1495

jrobble opened this issue Feb 24, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@jrobble
Copy link
Member

jrobble commented Feb 24, 2022

Logging out and then immediately logging back in causes a 403 error and HTML page with this text to appear:

Warning! There was a problem processing your request. More information is available in your web server's log 

This happens in both Firefox and Chrome.

When you specify this in openmpf/trunk/workflow-manager/src/main/resources/log4j2.xml:

<Logger name="org.springframework.security.web.csrf.CsrfFilter" level="DEBUG"/>

... the following message is logged when the error occurs:

2022-02-23 16:53:27,025 DEBUG [http-nio-8080-exec-7] o.s.s.w.c.CsrfFilter - Invalid CSRF token found for http://localhost:8080/workflow-manager/login
@jrobble jrobble added the bug label Feb 24, 2022
@jrobble jrobble added this to the Milestone 2 milestone Feb 24, 2022
@jrobble jrobble self-assigned this Feb 24, 2022
@jrobble jrobble added this to To do in OpenMPF: Development via automation Feb 24, 2022
@jrobble jrobble moved this from To do to In Progress in OpenMPF: Development Feb 24, 2022
@jrobble jrobble changed the title Invalid CSRF token found for http://localhost:8080/workflow-manager/login Invalid CSRF token found for /workflow-manager/login Feb 24, 2022
@jrobble jrobble closed this as completed Jul 20, 2022
OpenMPF: Development automation moved this from In Progress to Closed Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant