xavier-GitHub76 commented on issue #25876:
URL: https://github.com/apache/superset/issues/25876#issuecomment-1815797672

   Hi, thanks a lot for your reply.
   I don't understand why we must use  http://localhost:8000/login whereas the 
endpoint api 'login' exists. I don't find documentation about using api 
superset (just the swagger which does not specify the logical order of the 
endpoints)
   
   I try your example with postman but I have not the same result.
   
   1. {{url}}/api/v1/security/login --> OK, I have an access_token (that I 
store in a variable)
   2. {{url}}/api/v1/security/csrf_token/ --> OK, I have an csrf (that I store 
in a variable)
   3. {{url}}/login
   
   
![image](https://github.com/apache/superset/assets/82046143/b0cd0845-22e8-491c-8cbd-82bca3e3945c)
   
   but I have the result :
   
![image](https://github.com/apache/superset/assets/82046143/128ae901-f5b0-4a56-b275-b56487f1822e)
   
   On your screenshot, you have 10 parameters for the header, I have just 9.
   Could you show me the detail of your header and the result of your execution 
?
   
   4. {{url}}/api/v1/me/ with access_token and csrf token
   
![image](https://github.com/apache/superset/assets/82046143/bf2d8d70-dd01-4605-997b-aff897f7fb29)
   
   
![image](https://github.com/apache/superset/assets/82046143/d2b0df63-4991-4a13-89ab-40fd8e6cd0fd)
   
   The result is always "Not authorized" 😞 
   
![image](https://github.com/apache/superset/assets/82046143/654e47ab-03b2-4270-9514-af4c63cfc17e)
   


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