We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a488e08 commit 6fd9aa3Copy full SHA for 6fd9aa3
ChangeLog
@@ -1,3 +1,8 @@
1
+01/13/2023
2
+- when parsing JWKs with an x5c claim the claim was wronly assumed to
3
+ be base64url encoded instead of base64 encoded;
4
+ see #460
5
+
6
11/06/2022
7
- a new option local_redirect_path can be used is situations where the
8
redirect_uri as is visible to lua-resty-openidc is not simply the path
lib/resty/openidc.lua
@@ -844,7 +844,7 @@ end
844
845
local function openidc_pem_from_x5c(x5c)
846
log(DEBUG, "Found x5c, getting PEM public key from x5c entry of json public key")
847
- local chunks = split_by_chunk(b64(openidc_base64_url_decode(x5c[1])), 64)
+ local chunks = split_by_chunk(x5c[1], 64)
848
local pem = "-----BEGIN CERTIFICATE-----\n" ..
849
table.concat(chunks, "\n") ..
850
"\n-----END CERTIFICATE-----"
0 commit comments