https://www.ory.sh/ logo
#talk-hydra
Title
# talk-hydra
r

red-noon-66215

03/24/2022, 10:10 AM
Hi Team, I want to implement "hydra client credentials flow "(server to server client credentials grant for clientId/ secret ) to get token. My requirement is to put some custom details in client (during client registrations) and expecting those details in JWT token received post client authentication
In short , i want to add custom claims in JWT token for client credentials grant please let me know how to achieve that, as far as i know its a single api call workflow to hydra to authenticate client and get token.
l

late-france-48187

03/24/2022, 12:24 PM
I'm also interested in this future. Currently this is not possible but there is an open Issue for this. I already wanted to contribute to this but I couldn't find time. https://github.com/ory/hydra/issues/1748
r

red-noon-66215

03/26/2022, 12:30 PM
Thanks @User, can you please tell whatever im asking is as per oauth2 guidelines or not?
l

late-france-48187

03/30/2022, 2:31 PM
In my understanding this is possible and the oauth2 standard describes the token claims can be extended with custom claims. But I'm not an expert. Maybe someone from the hydra team can clarify this (@User).
2 Views