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

prod branch of what we run #2

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

prod branch of what we run #2

wants to merge 10 commits into from

Conversation

till
Copy link

@till till commented Jun 23, 2022

No description provided.

till and others added 10 commits February 8, 2022 22:12
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.
Some session stores, or reverse proxies in front of them, react to
those headers and open a websocket connection, which is not what we
want.
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.

2 participants