docker-flow / docker-flow-proxy

Docker Flow Proxy
https://docker-flow.github.io/docker-flow-proxy/
MIT License
317 stars 189 forks source link

Feature: Validate signed JWT tokens #108

Closed dazinator closed 2 years ago

dazinator commented 3 years ago

I was looking around for a proxy that could authenticate requests by ensuring there was a valid signed JWT token in the Authorization: Bearer header.

According to this: https://www.haproxy.com/blog/using-haproxy-as-an-api-gateway-part-2-authentication/ HAProxy can do this using LUA scripting and some variables like the public key. JWT tokens would be generated using asymmetric cryptography so only the public key is required to verify the signature.

Do you think this would be a feature worth tackling? Or perhaps it's already achievable?

lle0x commented 2 years ago

Dear @dazinator

If this issue is still relevant, please feel free to leave a comment here.

lle0x commented 2 years ago

Closed due to inactivity

dazinator commented 2 years ago

Just an update to say I might circle back to this but at the moment I'm exploring traefik to see if that can do something similar.