WTF_CSRF_EXEMPT_LIST doesn't work
See original GitHub issueHello I have last version of superset, and I need to add an exception for CSRF. I tried with
WTF_CSRF_EXEMPT_LIST = ['http://localhost:8088/login'],
but doesn’t work. Thanks for all.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Flask-Restful POST fails due CSRF protection of Flask-WTF
It appears you cannot protect individual resources and exempt others; this is a limitation in the method used by Flask-Wtf's method of recording ......
Read more >Fix Missing CSRF Token Issues with Flask
Learn how to fix bad request / CSRF token missing errors with Flask that stem from bugs with webkit based browsers.
Read more >CSRF Protection — Flask-WTF Documentation (0.15.x)
To enable CSRF protection globally for a Flask app, register the CSRFProtect extension. ... CSRF protection requires a secret key to securely sign...
Read more >CSRF Protection in Flask
CSRF attacks can be prevented by using a CSRF token -- a random, unguessable string -- to validate the request origin. For unsafe...
Read more >csrf.exempt on a view in a Blueprint imported by app.py #256
If you have a view in a Blueprint, you cannot csrf-exempt it, because of circular imports OR RuntimeError: Working outside of application ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Realized it was the directory path to the file that was needed so in my case I had a customer_security_manager.py file alongside my superset_config.py and
WTF_CSRF_EXEMPT_LIST = ['custom_security_manager.login']
worked.@brayan-arrieta any luck on this? Having the same issue.