-
-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support context field in the authorizer handler #439
Comments
I'm happy to pick this up. |
Nice, I think you can take a look at e.g. the remote json thing to figure this out for keto :) |
Yes, I'm working on that. I have a few queries. Can you please elaborate on why are we returning only
|
The code is pretty old - I was also thinking that we could probably use the remote json authorizer to talk to keto and don't need the keto authorizer at all any more. |
Okay, so for the entire Keto support we will be relying on remote JSON? Do we need it to delegate through code or should we mention that in the docs? |
Yeah I think so! It can do everything the keto authorizer can do as well but is more flexible. This definitely would need to be updated in the docs. I also want to switch to JsonNet #423 to make this easier. |
Yeah, that's reasonable. Should we start working on that instead and once that's finished then working on this would be seamless? Digging under I found that there is an already Golang implementation for that by Google. Have we considered using JSONnet in any other Ory projects before? |
Yes I think that makes sense. We would however first need to figure out how to ensure backwards compatibility with existing rules. I have some ideas, but currently no time to work on it. Maybe we document remote_json with current go templates first for keto? |
Just saw #441 and I think is really a great idea to first clear things and then after start working. I think we can wait once RFC is finalized. What do you think? |
SGTM |
I am marking this issue as stale as it has not received any engagement from the community or maintainers in over half a year. That does not imply that the issue has no merit! If you feel strongly about this issue
We are cleaning up issues every now and then, primarily to keep the 4000+ issues in our backlog in check and to prevent maintainer burnout. Burnout in open source maintainership is a widespread and serious issue. It can lead to severe personal and health issues as well as enabling catastrophic attack vectors. Thank you for your understanding and to anyone who participated in the issue! 🙏✌️ If you feel strongly about this issues and have ideas on resolving it, please comment. Otherwise it will be closed in 30 days! |
Keto supports conditions in their policy engine. To check against these conditions you need to send a payload with the "context" key. Oathkeeper should be able to build the payload with the context key, not just action, resource, and subject.
The text was updated successfully, but these errors were encountered: