Is it possible to use body parameters in remote_json config? #845
-
I would like to pass a request through oathkeeper. I would like to first authenticate using ory kratos, and then use the remote_json authorizer, in order to check for permissions using ory keto. Is it possible to use elements of the original request's body in the remote_json handler config, in order to make the authorization calling the keto/check endpoint? remote_json:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think should be possible, see this for example: Would you be willing to share a rough sketch of your setup? |
Beta Was this translation helpful? Give feedback.
-
@george-weaverhq @vinckr Could you please explain if and how you managed to get values from the original request body and pass it to the authorizer? |
Beta Was this translation helpful? Give feedback.
I think should be possible, see this for example:
https://github.com/radekg/ory-reference-compose/blob/master/compose/configs/oathkeeper/rules.json
Would you be willing to share a rough sketch of your setup?