You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "nicolaskodak (via GitHub)" <gi...@apache.org> on 2023/03/21 04:30:20 UTC
[GitHub] [superset] nicolaskodak commented on issue #19525: Cannot autheticate on API. Get the tokens (JWT and csrf) but all responses are "401"
nicolaskodak commented on issue #19525:
URL: https://github.com/apache/superset/issues/19525#issuecomment-1477267088
Still facing this issue.
versions
```
superset: v2021.41.0-4182-gdf91664
Python 3.8.13
```
have tried
- `node ./superset_api_test.js` as @sazary brought up. Result is `{ message: 'Not authorized' }`
- hit /api/v1/me with token obtained from `admin`, no luck.
The superset service is launched in docker, with `superset_config_docker.py` as
```
SESSION_COOKIE_SAMESITE = None
ENABLE_PROXY_FIX = True
PUBLIC_ROLE_LIKE_GAMMA = True
FEATURE_FLAGS = {
"EMBEDDED SUPERSET" : True
}
CORS_OPTIONS = {
'supports_credentials': True,
'allow_headers': ['*'],
'resources' : ['*'],
'origins': ['http://localhost:8088', 'http://localhost:8888']
}
CSRF_ENABLED = False
WTF_CSRF_ENABLED = False
```
Wonder if anyone could point me to possible solutions for this?
--
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