You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "devikaaaa33 (via GitHub)" <gi...@apache.org> on 2025/08/18 05:14:58 UTC

Re: [D] How to authenticate Superset with service account [superset]

GitHub user devikaaaa33 edited a discussion: How to authenticate Superset with service account

Hi Team,

We were previously using Superset default credentials to obtain the access token and CSRF token for asset imports. Now, instead of the default credentials, we have created a service account in Zitadel, which has generated a token.
Which endpoints should we use, and how should we authenticate with Superset to perform asset imports using this token?

these were the endpoint I was using before.

curl -s -k --request POST --url "https://$APP_PREFIX.$DOMAIN/api/v1/security/login" 

curl -k -s -c cookies.txt --request GET \
      --url "https://$APP_PREFIX.$DOMAIN/api/v1/security/csrf_token/"



GitHub link: https://github.com/apache/superset/discussions/34278

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org