-
Notifications
You must be signed in to change notification settings - Fork 390
Open
Labels
featNew feature or request.New feature or request.
Description
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
I have implemented my own authz service and it return 204 response on allowed and 403 if not, I would like remote_(json) to also accept 204 not just status 200
Describe your ideal solution
I could open a pr for this and include status code check for 204 response and do an early return for that
Workarounds or alternatives
I could add another proxy/function in front of it or change the code to return 200 instead
Version
v0.40.9
Additional Context
I think returning only status of 204 or 403 already convey the meaning when requesting to authz endpoint checking for authorization so if an authz check returns 204 it can interpret as allowed so 204 status should be accepted as success as well
Metadata
Metadata
Assignees
Labels
featNew feature or request.New feature or request.