@opengovsg/mockpass 4.5.4 → 4.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/express/oidc/v2-ndi.js +11 -2
- package/package.json +1 -1
|
@@ -38,7 +38,12 @@ const singpass_token_endpoint_auth_signing_alg_values_supported = [
|
|
|
38
38
|
'ES512',
|
|
39
39
|
]
|
|
40
40
|
|
|
41
|
-
const corppass_token_endpoint_auth_signing_alg_values_supported = [
|
|
41
|
+
const corppass_token_endpoint_auth_signing_alg_values_supported = [
|
|
42
|
+
'ES256',
|
|
43
|
+
'ES256K',
|
|
44
|
+
'ES384',
|
|
45
|
+
'ES512',
|
|
46
|
+
]
|
|
42
47
|
|
|
43
48
|
const token_endpoint_auth_signing_alg_values_supported = {
|
|
44
49
|
singPass: singpass_token_endpoint_auth_signing_alg_values_supported,
|
|
@@ -52,7 +57,11 @@ const singpass_id_token_encryption_alg_values_supported = [
|
|
|
52
57
|
'RSA-OAEP-256',
|
|
53
58
|
]
|
|
54
59
|
|
|
55
|
-
const corppass_id_token_encryption_alg_values_supported = [
|
|
60
|
+
const corppass_id_token_encryption_alg_values_supported = [
|
|
61
|
+
'ECDH-ES+A256KW',
|
|
62
|
+
'ECDH-ES+A192KW',
|
|
63
|
+
'ECDH-ES+A128KW',
|
|
64
|
+
]
|
|
56
65
|
|
|
57
66
|
const id_token_encryption_alg_values_supported = {
|
|
58
67
|
singPass: singpass_id_token_encryption_alg_values_supported,
|