Skip to content

Commit 4e1689c

Browse files
authored
docs: clarify webhook response payload (#2028)
Closes ory/hydra#3879
1 parent 3c69a69 commit 4e1689c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/hydra/guides/oauth2-webhooks.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ To accept the token exchange without modification, return a `204` or `200` HTTP
141141

142142
To deny the token exchange, reply with a `403` HTTP status code.
143143

144+
To keep the claims as is, return an empty body with a 204 status code.
145+
144146
To modify the claims of the issued tokens and instruct Hydra to proceed with the token exchange, return `200` with a JSON response
145147
body:
146148

0 commit comments

Comments
 (0)