a (hacky, wip) multi-tenant oidc-terminating reverse proxy, written in anger on top of pingora
at main 37 lines 1.3 kB view raw
1[package] 2name = "auth-proxy" 3version = "0.1.0" 4edition = "2024" 5 6[dependencies] 7async-trait = "0.1.89" 8base64 = "0.22.1" 9color-eyre = "0.6.5" 10compact_jwt = { version = "0.5.4", features = ["unsafe_release_without_verify"] } 11cookie-rs = "0.4.1" 12ed25519-dalek = { version = "2.2.0", features = ["rand_core", "serde"] } 13form_urlencoded = "1.2.2" 14http = "1.4.0" 15jiff = "0.2.20" 16papaya = "0.2.3" 17pingora = { git = "https://github.com/directxman12/pingora", branch = "custom/main", features = ["rustls", "proxy", "lb"] } 18postcard = { version = "1.1.3" } 19prost = "0.14.3" 20prost-reflect = { version = "0.16.3", features = ["derive", "text-format"] } 21rand = "0.8.5" # has to match ed25519-dalek 22reqwest = { version = "0.13.2", features = ["json"] } 23rustls = { version = "0.23.36", features = ["aws-lc-rs"] } 24serde = { version = "1.0.228", features = ["derive"] } 25serde_html_form = "0.4.0" 26serde_json = "1.0.149" 27sha2 = "0.10.9" 28tokio = { version = "1.49.0", features = ["fs"] } 29tracing = "0.1.44" 30tracing-subscriber = { version = "0.3.22", features = ["env-filter"] } 31url = { version = "2.5.8", features = ["serde"] } 32uuid = { version = "1.21.0", features = ["serde", "v4"] } 33 34[build-dependencies] 35# use prost-reflect-build & prost-reflect so that we can deserialize 36# textprotos, cause prost can't natively 37prost-reflect-build = "0.16.0"