Enable interop HTTP based authentication and resolve technical debt #4677
Labels
blocking
Another issue or pull request is waiting for this
c/join server
This is related to the Join Server
c/shared
This is shared between components
in progress
We're working on it
technical debt
Not necessarily broken, but could be done better/cleaner
Milestone
Summary
Enable HTTP-based authentication for interop. Whenever we touch this, we should also resolve technical debt.
References #717
References #2627
Why do we need this?
To support Backend Interfaces clients that do not use TLS client authentication, but that we allow authenticators that use an API key or token.
What is already there? What do you see now?
Currently,
pkg/interop
's server only supports TLS client authentication.The aforementioned package is also built around Echo.
What is missing? What do you want to see?
TLS client authentication should become optional and we should support dynamic authentication mechanisms. One authentication mechanism could be checking an API key against a configured value or validating a token.
Use the more generic HTTP middleware instead of Echo.
How do you propose to implement this?
pkg/auth
info on the request contextHow do you propose to test this?
CI
Can you do this yourself and submit a Pull Request?
Yes
The text was updated successfully, but these errors were encountered: