nagarajmmu opened a new issue, #24895:
URL: https://github.com/apache/superset/issues/24895

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Add below key value pair in superset_config.py
   SESSION_COOKIE_SAMESITE = "None"
   SESSION_COOKIE_SECURE = False
   SESSION_COOKIE_HTTPONLY = True
   HTTP_HEADERS = {'X-Frame-Options': 'ALLOWALL'}
   ENABLE_CORS = True
   FEATURE_FLAGS = {"ALERT_REPORTS": True, "EMBEDDED_SUPERSET": True}
   2. Build and Restart the superset by docker compose.
   3. Added below superset URL in another app web UI as a iFrame
   https://<superset_app_url>?standalone=true
   
   ### Expected results
   
   Superset in IFrame should login and work as expected.
   
   ### Actual results
   
   Not able to login to Superset with below error in browser console.
   ERROR: _Blocked autofocusing on a <input> element in a cross-origin 
subframe._
   #### Screenshots
   
   
![image](https://github.com/apache/superset/assets/61146310/ce9e2cc5-5967-4c80-97ba-2de44650c6c4)
   
![image](https://github.com/apache/superset/assets/61146310/d695a9e1-e49c-4538-8e17-38d4a4c51d41)
   
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: SUperset 2.1.0`
   - python version: 3.8.0
   
   We are planning to embedded superset dashboard in our application, as a 
iFrame. in iFrame superset login page appears, but not able to login, after 
login it will go back to login page only, because of SameSite cookie is Lax, we 
tried to set it to None, but not succeeded, we tried Nginx to resolve SameSite 
cookie, still SameSite cookie is appearing as a Lax. some time SameSite cookie 
appears None and Lax both, because of this reason, we are not able to use 
superset in our application,
   Please let me know, if there any solution for this issue.
   
   Thanks
   Nagaraj M M


-- 
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]

Reply via email to