You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/04/18 16:07:20 UTC
[GitHub] [superset] MarcinZegar commented on issue #19525: Cannot autheticate on API. Get the tokens (JWT and csrf) but all responses are "401"
MarcinZegar commented on issue #19525:
URL: https://github.com/apache/superset/issues/19525#issuecomment-1101527980
Instead of
`#trying to use the "current user" request as a test
response = requests.get('http://localhost:8088/api/v1/me', headers=headers)`
you should try:
```
session.headers.update(headers)
response = session.get('http://localhost:8088/api/v1/me')`
--
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