Skip to content
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

add X-RH-Identity authentication checks #45

Open
martinpitt opened this issue Sep 23, 2022 · 1 comment
Open

add X-RH-Identity authentication checks #45

martinpitt opened this issue Sep 23, 2022 · 1 comment

Comments

@martinpitt
Copy link
Member

martinpitt commented Sep 23, 2022

look at the X-RH-Identity header from both the browser (user type) and the target machine (system type), check that the org IDs match. Mention the org ID in the /status reply.

This requires changing the bridge connector to connect with a TLS certificate instead of basic auth.

We need to do some mocking to be able to do that with podman and in the tests. We can just generate another cert pair for the connected host, and add the header in our 3scale container.

@martinpitt
Copy link
Member Author

I sent PR #64 to provide the basic building blocks for this. But it's only a prerequisite, not fixing this issue yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant