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
So my work here are using 3 things: trino, opa and keycloak. On keycloak i have create some user, groups, realm, ... to test user authorization. By passing a token for trino to handle infomatiion, i expect trino to send the username and group down to opa but currently right now it only extract username ( maybe i missing some configuration or trino not support it yet?)
This discussion was converted from issue #26367 on August 07, 2025 21:46.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
So my work here are using 3 things: trino, opa and keycloak. On keycloak i have create some user, groups, realm, ... to test user authorization. By passing a token for trino to handle infomatiion, i expect trino to send the username and group down to opa but currently right now it only extract username ( maybe i missing some configuration or trino not support it yet?)
so here is the token detail:
{
"realm_access": {
"roles": [
"default-roles-test",
"offline_access",
"uma_authorization",
"data-engineer"
]
},
"resource_access": {
"trino-client": {
"roles": [
"trino_admin",
"trino_user"
]
},
"account": {
"roles": [
"manage-account",
"manage-account-links",
"view-profile"
]
}
},
"scope": "openid email profile",
"email_verified": false,
"name": "engineer_user User",
"groups": [
"data_engineer"
],
"preferred_username": "engineer_user",
"given_name": "engineer_user",
"family_name": "User",
"email": "[email protected]"
}
Beta Was this translation helpful? Give feedback.
All reactions