hi all, im currently trying out<https://www.ory.sh...
# talk-hydra
d
hi all, im currently trying out hydra webhooks to trigger the creation of keto relations after the consent has been completed but the data i receive is missing the scopes the user allowed. i get the kratos subject id on
session.id_token.subject
, which is nice, but i need to know also what scopes the user selected. am i missing something? this is the data i receive on the webhook + session but i removed that part because it includes all the data i need already.
Copy code
"request": {
    "client_id": "dd13b694-873d-46ab-8fa0-ad51388f55ff",
    "granted_scopes": [],
    "granted_audience": [],
    "grant_types": [
      "authorization_code"
    ],
    "payload": {}
  }
docs show that i should receiving something like
Copy code
"request": {
    "client_id": "app-client",
    "granted_scopes": ["offline", "openid", "hydra.*"],
    "granted_audience": [],
    "grant_types": ["authorization_code"],
    "payload": {}
  }
and my
/callback
endpoint is receiving the scopes correctly
Copy code
{
  "access_token": "ory_at_7u",
  "refresh_token": "ory_rt_-",
  "scopes": "openid offline_access drop:mint drop:create"
}
f
I'm facing the same issue. Did u find any explanation for that?