You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2023/01/10 09:56:37 UTC

[GitHub] [superset] tejaskatariya commented on issue #22258: 403 Forbidden error when trying to embed a dashboard & view it using a guest user token

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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org