Skip to content

Commit d8fcfbb

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

8 files changed

Lines changed: 1059 additions & 38 deletions

File tree

‎architecture/gateway.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Supported auth modes:
174174
| Plaintext | Local development or a trusted reverse proxy boundary. |
175175
| Unauthenticated local users | Trusted Kubernetes dev or fully trusted proxy deployments only. |
176176
| Cloudflare JWT | Edge-authenticated deployments where Cloudflare Access supplies identity. |
177-
| OIDC | Bearer-token auth for users, with browser or device-code PKCE and client credentials login. |
177+
| 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. |
178178

179179
The CLI persists the scopes requested during OIDC login in gateway metadata and
180180
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
@@ -129,10 +129,10 @@ bundled-z3 = ["openshell-prover/bundled-z3"]
129129
test-support = []
130130

131131
[dev-dependencies]
132+
base64 = { workspace = true }
132133
hyper-rustls = { version = "0.27", default-features = false, features = ["native-tokio", "http1", "tls12", "logging", "ring"] }
133134
rcgen = { version = "0.13", features = ["crypto", "pem"] }
134135
rsa = { version = "0.9", features = ["pem"] }
135-
base64 = { workspace = true }
136136
tokio-tungstenite = { workspace = true }
137137
futures-util = "0.3"
138138
wiremock = "0.6"

0 commit comments

Comments
 (0)