xavier-GitHub76 commented on issue #25876:
URL: https://github.com/apache/superset/issues/25876#issuecomment-1820927529
hello,
first of all, thank you very much for your help. It is very pleasant. 👍
Unfortunately I fail. I don't understand the systematic use of the
{{url}}/'login' web page although API endpoints exist:
{{url}}/api/v1/security/login
{{url}}/api/v1/security/csrf_token/
I nevertheless tried your scenario.
I made the GET request on {{url}}/'login' and I successfully retrieved the
value of the hidden variable crsf_token.


I made the POST request on {{url}}/'login' with body as FormData containing
the csrf_token, username, and password :

I make the request on {{url}}/api/v1/me/ (with no Auth) but I had "message":
"Not authorized"

Best regards
--
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]