izissise commented on issue #34637:
URL: https://github.com/apache/superset/issues/34637#issuecomment-3179170849

   Contrary to what's the bot saying, I was actually hit we a login issue 
because TALISMAN was disabled, and couldn't enable it easily
   because it force disabled in the conf -> 
https://github.com/apache/superset/blob/master/superset/config.py#L1822
   
   This is the same line I linked in the PR (just github cannot load it up 
because it is too big).
   
   
   Here how I think you can reproduce the issue I had:
   - first boot superset using the provided docker-compose.yml 
   - connect with admin/admin
   - disable CSRF and docker-compose stop/start
   - force logout by clearing cookie in browser
   - login now fails with an exception in the log on this line 
https://github.com/apache/superset/blob/57d0e78d405b57a4d1e2c4b3486ce57916b962c9/superset/utils/log.py#L200
   - activate TALISMAN
   - now you can log in
   
   there is a stack overfow with a similar issue 
https://stackoverflow.com/questions/77258840/successful-installation-of-superset-3-0-0-on-ubuntu-22-04-3-but-failed-to-log
   
   so this issues is two fold:
   - the line linked in the conf should be removed as it is cleary a left over 
of a dev conf
   - CSRF = false + TALISMAN = false should throw an exception on login


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