Hello, We are actively looking to migrate from Go...
# ory-network
f
Hello, We are actively looking to migrate from Google Identity Platform into Ory Network. I can’t seem to find the equivalent of custom claims that I set on the user ones (Google identity platform docs) for Ory? I find the documentation for the webhook: https://www.ory.sh/docs/hydra/guides/claims-at-refresh which seems to can the webhook everytime the user refresh a token. Perhaps it is supported but I can’t seem to find it in the docs.
f
Yes webhooks are the way to do that. We may add jsonnet-based mappings down the road, but webhooks ultimately give you more flexibility
f
Will this endpoint get called on login as well since that requests a token?
We’ve tried the documentation but seem to get no callback after configuring
Copy code
ory patch oauth2-config <OUR PROJECT ID> \
  --add "/oauth2/token_hook=\"<OUR URL>\"" \
  --format yaml