Skip to content

Commit aff2bf9

Browse files
committed
feat(server): support EC and EdDSA keys in OIDC JWKS validation
Signed-off-by: Yuedong Wu <dwcn22@outlook.com>
1 parent 60a9b4d commit aff2bf9

8 files changed

Lines changed: 1060 additions & 39 deletions

File tree

‎architecture/gateway.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Supported auth modes:
182182
| Plaintext | Local development or a trusted reverse proxy boundary. |
183183
| Unauthenticated local users | Trusted Kubernetes dev or fully trusted proxy deployments only. |
184184
| Cloudflare JWT | Edge-authenticated deployments where Cloudflare Access supplies identity. |
185-
| OIDC | Bearer-token auth for users, with browser or device-code PKCE and client credentials login. |
185+
| OIDC | Bearer-token auth for users, with browser or device-code PKCE and client credentials login. JWKS validation accepts RS256, RS384, RS512, PS256, PS384, PS512, ES256, ES384, and EdDSA (Ed25519) signing keys. |
186186

187187
The CLI persists the scopes requested during OIDC login in gateway metadata and
188188
reuses them when refreshing an access token. This preserves the intended API

‎crates/openshell-server/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ bundled-z3 = ["openshell-prover/bundled-z3"]
137137
test-support = []
138138

139139
[dev-dependencies]
140+
base64 = { workspace = true }
140141
hyper-rustls = { version = "0.27", default-features = false, features = ["native-tokio", "http1", "tls12", "logging", "ring"] }
141142
rcgen = { version = "0.13", features = ["crypto", "pem"] }
142143
rsa = { version = "0.9", features = ["pem"] }
143-
base64 = { workspace = true }
144144
tokio-tungstenite = { workspace = true }
145145
futures-util = "0.3"
146146
wiremock = "0.6"

0 commit comments

Comments
 (0)