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 [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to