Where is the ory keto endpoint on ory network? #147
-
|
Hi all, On ory network: I am trying to get a webhook working that retrieves groups from ory keto permissions and puts it into the JWT payload. I have this relationship: Webhooks documentation says that a request payload gets forwarded to some endpoint.
On the authentication > webhooks dashboard I have options: Flow: [login,registration,settings,recovery,verification]
Dashboard doesn't show the REST endpoint and neither does the keto documentation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This is an endpoint on your side, so you can decide where it sits. It's not an Ory Action webhooks, which is the one that you configure in the Ory Console.
As in the example code snippet it can be anywhere really See the API docs for Ory Network, not self-hosted Ory Keto: https://www.ory.com/docs/reference/api#tag/permission/operation/checkPermissionOrError e.g. |
Beta Was this translation helpful? Give feedback.
This is an endpoint on your side, so you can decide where it sits. It's not an Ory Action webhooks, which is the one that you configure in the Ory Console.
As in the example code snippet it can be anywhere really
https://my-example.app/token-hookSee the API docs for Ory Network, not self-hosted Ory Keto: https://www.ory.com/docs/reference/api#tag/permission/operation/checkPermissionOrError
e.g.
https://{project_slug}.projects.oryapis.com/relation-tuples/check