Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

PR to see diff (while we fix this) #1

Open
wants to merge 144 commits into
base: master
Choose a base branch
from
Open

PR to see diff (while we fix this) #1

wants to merge 144 commits into from

Conversation

till
Copy link

@till till commented Feb 9, 2022

@till till self-assigned this Feb 9, 2022
@till till force-pushed the debug-build branch 2 times, most recently from 193a673 to 5b393c2 Compare February 10, 2022 10:03
till added 9 commits June 23, 2022 15:08
I am not sure where to start, we run against ory platform and noticed
that the response "from" oathkeeper did not contain a subject when it
got to the backend service.

I managed to find out that the "body" in `forwardRequestToSessionStore()`
was nil/empty in some cases and the gjson calls failed silently.

I started log.Printf() debugging in these two service files and simplified
the code a bit to make it more readable. And that seemed to have fixed it.
ory-bot and others added 30 commits December 23, 2022 08:27
…ed (ory#1061)

With this change, Oathkeeper now reports as "not ready" on the health check if not at least one valid rule is loaded.
- refactors test helpers into middleware_test.go
- provides a "complete" response from the test server
- complete response is necessary in order to provide subject (to allow the request)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.