Hi Ory Team,
I am using client credentials flow in a self-hosted Ory Hydra, I want to add a custom claim in JWT access token. Is there a way I can use Ory Action webhooks, since I am not using Ory network in my project?
b
billowy-actor-35983
04/16/2024, 6:17 PM
Not part of the Ory team, yes you can by configuring your Hydra instance.
There’s an example config.
Essentially, the specific config is under the
oauth2:token_hook
key.
Then your server should respond with a payload following this schema.