Skip to content

Commit 69d0ac3

Browse files
committed
Merge branch 'bug-oidc-certs-algorithm' into my-master
2 parents 6c70b83 + 3c478a2 commit 69d0ac3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

oidc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func openIDJWKSHttpHandler(w http.ResponseWriter, r *http.Request) {
137137
"n": b64Url.EncodeToString(publicKey.N.Bytes()),
138138
"kid": OpenIDConfig.KeyID,
139139
"use": "sig",
140-
"alg": "RSA256",
140+
"alg": "RS256",
141141
"kty": "RSA",
142142
},
143143
},

oidc_internal_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func TestOpenIdJWKSHttpHandler(t *testing.T) {
8383
"n": "vhHj4zZSEg7q1-BdSbzSivtmn4EWF_PZIF7gAH-4iqm7v22MN-2wvnmpNLQG_-LeJ5M39kDHWt2ei3HEsxPxbEeeHRzCm23AgXDGTkjuUUXi7GP1nQmWcZnyckD0jr8kZO789pauck61GvnQhtdl4mP3JCCXPI0dJvbkr76ni-hMnjpB7GyChEglIArshTNPwhHm-6M0c4R3uVvzQUpuE7CEcisNH1u8HM0aOnQKXYc42a3P4yllpD70jNt008StXyyIIwN4LFT9-5vM9FrBEpY4k9EAggU2R7FEodnky6e8grPV2b0z2eRLu4jgITPMzyyqYc6LccEPsn99XqkF1w",
8484
"kid": "any-key-id",
8585
"use": "sig",
86-
"alg": "RSA256",
86+
"alg": "RS256",
8787
"kty": "RSA"
8888
}
8989
]

0 commit comments

Comments
 (0)