superset_auth_authenticate_user
Authenticate with Superset to get an access token. Validates or refreshes existing tokens to maintain API access.
Instructions
Authenticate with Superset and get access token
Makes a request to the /api/v1/security/login endpoint to authenticate and obtain an access token. If there's an existing token, will first try to check its validity. If invalid, will attempt to refresh token before falling back to re-authentication.
Args: username: Superset username (falls back to environment variable if not provided) password: Superset password (falls back to environment variable if not provided) refresh: Whether to refresh the token if invalid (defaults to True)
Returns: A dictionary with authentication status and access token or error information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | ||
| password | No | ||
| username | No |