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 2020/11/03 14:05:49 UTC
[GitHub] [incubator-superset] ronozoro opened a new issue #11524: can't login via iframe in chrome (working with firefox)
ronozoro opened a new issue #11524:
URL: https://github.com/apache/incubator-superset/issues/11524
A clear and concise description of what the bug is.
Added iframe to my application to login with iframe
what you expected to happen.
the login should be process and move to welcome dashboard page
what actually happens.
nothing. sames like the submit request is not reaching the server from the iframe
If applicable, add screenshots to help explain your problem.
#### How to reproduce the bug
1- create i frame in simple html page
2- try to open the page and login only with chrome .. working normal in firefox
3- nothing happen even if the password is not correct
Changes in Config.py :
SESSION_COOKIE_NAME = 'supeset_session'
SESSION_COOKIE_HTTPONLY = False # Prevent cookie from being read by frontend JS?
SESSION_COOKIE_SECURE = False # Prevent cookie from being transmitted over non-tls?
SESSION_COOKIE_SAMESITE = 'None' # One of [None, 'Lax', 'Strict']
WTF_CSRF_ENABLED = False
PUBLIC_ROLE_LIKE_GAMMA = True
DEFAULT_HTTP_HEADERS: Dict[str, Any] = {}
OVERRIDE_HTTP_HEADERS: Dict[str, Any] = {}
HTTP_HEADERS: Dict[str, Any] = {}
CentOS server
(please complete the following information):
- superset version: `0.37.2`
- python version: `3.6`
- node.js version: `6.17.1`
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ yes] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ yes] I have reproduced the issue with at least the latest released version of superset.
- [yes ] I have checked the issue tracker for the same issue and I haven't found one similar.
### Additional context
None
----------------------------------------------------------------
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.
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
[GitHub] [incubator-superset] lunch4jack commented on issue #11524: can't login via iframe in chrome (working with firefox)
Posted by GitBox <gi...@apache.org>.
lunch4jack commented on issue #11524:
URL: https://github.com/apache/incubator-superset/issues/11524#issuecomment-722015527
the issue is rooted here - https://blog.heroku.com/chrome-changes-samesite-cookie
**disabling** 'SameSite by default cookies' using **_chrome://flags_** on Chrome browser is a temporary solution.
----------------------------------------------------------------
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.
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
[GitHub] [incubator-superset] lunch4jack edited a comment on issue #11524: can't login via iframe in chrome (working with firefox)
Posted by GitBox <gi...@apache.org>.
lunch4jack edited a comment on issue #11524:
URL: https://github.com/apache/incubator-superset/issues/11524#issuecomment-722015527
the issue is rooted here - https://blog.heroku.com/chrome-changes-samesite-cookie
**disabling** 'SameSite by default cookies' using **_chrome://flags_** on Chrome browser works as a temporary solution.
----------------------------------------------------------------
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.
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
[GitHub] [incubator-superset] ronozoro commented on issue #11524: can't login via iframe in chrome (working with firefox)
Posted by GitBox <gi...@apache.org>.
ronozoro commented on issue #11524:
URL: https://github.com/apache/incubator-superset/issues/11524#issuecomment-723547370
Yes, it was samesite problem and with samesite cookie you have to enable ssl 👍
----------------------------------------------------------------
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.
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
[GitHub] [incubator-superset] ronozoro closed issue #11524: can't login via iframe in chrome (working with firefox)
Posted by GitBox <gi...@apache.org>.
ronozoro closed issue #11524:
URL: https://github.com/apache/incubator-superset/issues/11524
----------------------------------------------------------------
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.
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