GitHub user Tranqu1lo created a discussion: Error using Iframe

When i use iframe i have error to open the charts and using the link e 
annoymuss if i use the link using the user admin the chart works but if i use 
iframe the link doesnt work i have permission WTF_CSRF_EXEMPT_LIST i have this 
problems

Feb 26 10:02:47 viz-tur bash[45550]:   File 
"/app/venv/lib/python3.11/site-packages/flask/app.py", line 1974, in 
preprocess_request
Feb 26 10:02:47 viz-tur bash[45550]:     rv = self.ensure_sync(before_func)()
Feb 26 10:02:47 viz-tur bash[45550]:          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 26 10:02:47 viz-tur bash[45550]:   File 
"/app/venv/lib/python3.11/site-packages/flask_wtf/csrf.py", line 229, in 
csrf_protect
Feb 26 10:02:47 viz-tur bash[45550]:     self.protect()
Feb 26 10:02:47 viz-tur bash[45550]:   File 
"/app/venv/lib/python3.11/site-packages/flask_wtf/csrf.py", line 264, in protect
Feb 26 10:02:47 viz-tur bash[45550]:     self._error_response(e.args[0])
Feb 26 10:02:47 viz-tur bash[45550]:   File 
"/app/venv/lib/python3.11/site-packages/flask_wtf/csrf.py", line 307, in 
_error_response
Feb 26 10:02:47 viz-tur bash[45550]:     raise CSRFError(reason)
Feb 26 10:02:47 viz-tur bash[45550]: flask_wtf.csrf.CSRFError: 400 Bad Request: 
The CSRF session token is missing.


GitHub link: https://github.com/apache/superset/discussions/38267

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to