Get current HTTP method to send to authorizer

I am using remote_json as my authorizer handler. My policies in keto define action based on http method, eg: get, post, put, delete
How can I pass the http method to action in payload to send to keto ? I mean, is there any variable i can get from AuthenticationSession for http method ?

I think this is currently not possible, but we do have the plan to support that in the refactor: https://github.com/ory/oathkeeper/issues/441

1 Like

tks that next gen version looks very promising

1 Like