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

GW refactoring: Proxy #626

Open
olevski opened this issue Feb 1, 2023 · 0 comments
Open

GW refactoring: Proxy #626

olevski opened this issue Feb 1, 2023 · 0 comments

Comments

@olevski
Copy link
Member

olevski commented Feb 1, 2023

Currently the gateway does not implement a proxy. It has a reverse proxy that is to some extent being abused as a regular proxy.

The idea is that we will implement a proxy that will be used by any internal renku services to access gitlab or any other external service that requires authentication.

The proxy should do the following:

  • implement http and https proxying
  • for https the proxy will generate its own certificate that other renku services will have it in their certificate store
  • https proxying will therefore have two connections (renku service <--> proxy and proxy <--> external service), the SSL/TLS connections will terminate at the proxy but extend outward from it to the internal and external services
  • http proxying is simple because it simply involves passing of requests back and forth
  • the proxy will trade sessionIDs for the appropriate credentials for the external service and inject them in appropriate requests
  • BONUS: remove all mention of gitlab from the reverse proxy, use this to serve internal renku services and requests coming from client sessions
  • BONUS: implement this with the assumption that in the near future we will support more than one Gitlab and Github. Not just a single fixed Gitlab deployment.

Useful links:

@github-project-automation github-project-automation bot moved this to Backlog in renku-python Feb 1, 2023
@olevski olevski changed the title GW refactoring: forward proxy GW refactoring: Proxy Feb 1, 2023
@Panaetius Panaetius moved this from Backlog to Ready in renku-python Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant