You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: if both are provided, `Secure Extra` always takes higher priority.
44
+
45
+
#### 2. Kerberos Authentication
46
+
In `Secure Extra` field, config as following example:
47
+
```json
48
+
{
49
+
"auth_method": "kerberos",
50
+
"auth_params": {
51
+
"service_name": "superset",
52
+
"config": "/path/to/krb5.config",
53
+
...
54
+
}
55
+
}
56
+
```
57
+
58
+
All fields in `auth_params` are passed directly to the [`KerberosAuthentication`](https://github.com/trinodb/trino-python-client/blob/0.306.0/trino/auth.py#L40) class.
59
+
60
+
#### 3. JWT Authentication
61
+
Config `auth_method` and provide token in `Secure Extra` field
62
+
```json
63
+
{
64
+
"auth_method": "jwt",
65
+
"auth_params": {
66
+
"token": "<your-jwt-token>"
67
+
}
68
+
}
69
+
```
70
+
71
+
#### 4. Custom Authentication
72
+
To use custom authentication, first you need to add it into
73
+
`ALLOWED_EXTRA_AUTHENTICATIONS` allow list in Superset config file:
0 commit comments