You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "sfirke (via GitHub)" <gi...@apache.org> on 2023/09/15 20:32:13 UTC

[GitHub] [superset] sfirke commented on issue #24579: Login page issue

sfirke commented on issue #24579:
URL: https://github.com/apache/superset/issues/24579#issuecomment-1721833840

   > However, when I try to access it using 192.168.10.117:8088, it gets stuck in a login page loop with continuous 302 redirects.
   
   I am booting up a new instance of Superset, using stable version 2.1.0 that I have running elsewhere in production.  I'm without my normal working Application Gateway right now that goes in front of my production instance and I got stuck in this loop of redirects, even with `WTF_CSRF_ENABLED = False` and `TALISMAN_ENABLED=False`.
   
   I set `SESSION_COOKIE_SAMESITE = 'Lax'` and `SESSION_COOKIE_SECURE = False` and that got me able to log in.  In my normal production setup these are 'None' for SAMESITE and `True` for Secure.  I also have `WTF_CSRF_ENABLED` and `TALISMAN_ENABLED` as True there.
   
   I think this advice from @ww7 above is on track:
   > I think reverse-proxy with SSL (Nginx/Apache/Caddy/HAproxy etc) can solve this
   
   But I wonder if we could avoid this by setting `SESSION_COOKIE_SAMESITE`, `SESSION_COOKIE_SECURE`, `TALISMAN_ENABLED` and `WTF_CSRF_ENABLED` to a combination that works out of the box.  Or if that's undesirable then we should document this better.


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