diff --git a/docs/hydra/guides/updating-claims-at-refresh.mdx b/docs/hydra/guides/updating-claims-at-refresh.mdx index e62cf11a30..e41befee8f 100644 --- a/docs/hydra/guides/updating-claims-at-refresh.mdx +++ b/docs/hydra/guides/updating-claims-at-refresh.mdx @@ -103,9 +103,6 @@ The token hook endpoint must accept the following payload format: "kid": "key-id" }, "requester": { - "client_id": "bar", - "granted_scopes": ["openid", "offline"], - "granted_audience": [], "grant_types": ["refresh_token"], "payload": {} }, @@ -124,36 +121,16 @@ The token hook endpoint must accept the following payload format: ### Requester payload -For `client_credentials` and `jwt-bearer` grant types, the entire payload that you send to the `/token` endpoint will also be sent -to the configured webhook URL. +For `jwt-bearer` grant type, the payload that you send to the `/token` endpoint will also be sent to the configured webhook URL. -Here's the format of the `requester.payload` field for each grant type: +Here's the format of the `requester.payload: -```mdx-code-block - - - {` -{ - "grant_type": [ - "client_credentials" - ], - "audience": ["my-api"], - "scope": ["user:profile:read"] -} - `} - - - {` +```json { - "grant_type": [ - "urn:ietf:params:oauth:client-assertion-type:jwt-bearer" - ], + "grant_type": ["urn:ietf:params:oauth:client-assertion-type:jwt-bearer"], "assertion": ["eyJhbGciOiJIUzI..."], "scope": ["user:profile:read"] } - `} - - ``` :::note