tejaskatariya commented on issue #22258:
URL: https://github.com/apache/superset/issues/22258#issuecomment-1376999699
Hi,
My Dashboard is getting embedding successfully in firefox, but on chrome it
is giving error 400 for CSRF.
I have done the below config changes
SESSION_COOKIE_HTTPONLY = True # Prevent cookie from being read by frontend
JS?
SESSION_COOKIE_SECURE = True # Prevent cookie from being transmitted over
non-tls?
SESSION_COOKIE_SAMESITE = None # One of [None, 'None', 'Lax', 'Strict']
GUEST_ROLE_NAME = "Gamma"
PUBLIC_ROLE_LIKE_GAMMA= True
ENABLE_PROXY_FIX = True
ENABLE_CORS = True
CORS_OPTIONS: Dict[Any, Any] = {
'supports_credentials': True,
'allow_headers': ['*'],
'resources':['*'],
'origins': ['*']
}
Can anyone help with what am i missing?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]