Hey, I’m very new to Ory, so bear with me if this ...
# talk-hydra
l
Hey, I’m very new to Ory, so bear with me if this question is extremely basic. I am trying to set up a client to return a JWT that contains the name of the client (not the ID) and the email address of the user. Is this possible? here’s a JWT we’re getting
Copy code
{
  "aud": [],
  "client_id": "...",
  "exp": 1686266156,
  "ext": {},
  "iat": 1686262555,
  "iss": "https://{slug}.<http://projects.oryapis.com|projects.oryapis.com>",
  "jti": "...",
  "nbf": 1686262555,
  "scp": [
    "openid",
    "traits.email"
  ],
  "sub": "7a10fdb8-76b1-41d5-9319-2482ed57b3ea"
}
l
You should be able to do it if you implement a custom consent UI.
The
getOAuth2ConsentRequest
response should contain the client info, and you can add it to the
acceptOAuth2ConsentRequest
.
l
ah, thank you so much!