Join Slack
Powered by
:wave: I’m looking to how to add the custom claims...
# ory-network
t
thankful-byte-31123
05/16/2024, 1:01 PM
👋 I’m looking to how to add the custom claims to the oauth2 tokens, but am slightly surprised by how it’s done. Is adding custom webhooks the only way
https://www.ory.sh/docs/hydra/guides/claims-at-refresh
? Was hoping to see something similar to the simple login, e.g. automatically adding claims from identity traits&metadata based on a template
https://www.ory.sh/docs/identities/session-to-jwt-cors
l
limited-photographer-61008
05/16/2024, 1:16 PM
https://www.ory.sh/docs/oauth2-oidc/openid-connect-claims-scope-custom
You have to implement your own consent endpoint for full customization:
https://www.ory.sh/docs/oauth2-oidc/custom-login-consent/flow#consent
t
thankful-byte-31123
05/16/2024, 2:45 PM
thanks
33
Views
Open in Slack
Previous
Next