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

   ### Bug description
   
   I have installed the latest version of the master branch and ran docker 
compose up and got everything working fine through the browser and I could even 
log in through the API endpoint using postman:
   http://localhost:8088/api/v1/security/login
   
   the problem is that this endpoint:
   http://localhost:8088/api/v1/security/csrf_token/
   is returning:
   status: 422 UNPROCESSABLE ENTITY
   {
       "msg": "Subject must be a string"
   }
   
   this is the access token generated by the login endpoint:
   
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6dHJ1ZSwiaWF0IjoxNzM1NzcwNzkwLCJqdGkiOiIzZDYzMThhYi05NTYyLTQxZmUtOGJmNS0zMzNiMTU5YmM4NDAiLCJ0eXBlIjoiYWNjZXNzIiwic3ViIjoxLCJuYmYiOjE3MzU3NzA3OTAsImNzcmYiOiIzYTMxOGZhMi0wMTI0LTQ5YzctYjQzZi03YjFhMDU3YzlmZjEiLCJleHAiOjE3MzU3NzE2OTB9.fIc111JN4WysrHIfhQVyLSzVi6VAvnhi18UPX3jLJLw
   
   {
     "fresh": true,
     "iat": 1735770790,
     "jti": "3d6318ab-9562-41fe-8bf5-333b159bc840",
     "type": "access",
     "sub": 1,
     "nbf": 1735770790,
     "csrf": "3a318fa2-0124-49c7-b43f-7b1a057c9ff1",
     "exp": 1735771690
   }
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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