Skip to content

Commit

Permalink
docs: clarify webhook response payload (#2028)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Feb 14, 2025
1 parent 3c69a69 commit 4e1689c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/hydra/guides/oauth2-webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ To accept the token exchange without modification, return a `204` or `200` HTTP

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

To keep the claims as is, return an empty body with a 204 status code.

To modify the claims of the issued tokens and instruct Hydra to proceed with the token exchange, return `200` with a JSON response
body:

Expand Down

0 comments on commit 4e1689c

Please sign in to comment.