Skip to content

Commit 73d3ffc

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

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
@@ -156,7 +156,7 @@ Supported auth modes:
156156
| Plaintext | Local development or a trusted reverse proxy boundary. |
157157
| Unauthenticated local users | Trusted Kubernetes dev or fully trusted proxy deployments only. |
158158
| Cloudflare JWT | Edge-authenticated deployments where Cloudflare Access supplies identity. |
159-
| OIDC | Bearer-token auth for users, with browser PKCE or client credentials login. |
159+
| OIDC | Bearer-token auth for users, with browser PKCE or client credentials login. JWKS validation accepts RS256, RS384, RS512, PS256, PS384, PS512, ES256, ES384, and EdDSA (Ed25519) signing keys. |
160160

161161
The CLI persists the scopes requested during OIDC login in gateway metadata and
162162
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
@@ -126,10 +126,10 @@ bundled-z3 = ["openshell-prover/bundled-z3"]
126126
test-support = []
127127

128128
[dev-dependencies]
129+
base64 = { workspace = true }
129130
hyper-rustls = { version = "0.27", default-features = false, features = ["native-tokio", "http1", "tls12", "logging", "ring"] }
130131
rcgen = { version = "0.13", features = ["crypto", "pem"] }
131132
rsa = { version = "0.9", features = ["pem"] }
132-
base64 = { workspace = true }
133133
tokio-tungstenite = { workspace = true }
134134
futures-util = "0.3"
135135
wiremock = "0.6"

0 commit comments

Comments
 (0)