summaryrefslogtreecommitdiff
path: root/internal/handlers/handler_register_webauthn_test.go
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2024-08-24 23:41:22 +1000
committerGitHub <noreply@github.com>2024-08-24 23:41:22 +1000
commit06d8a9d2c18bc941d6e12b2d2dd8ef35dea9960b (patch)
treeaf36d9d18a25ec6841386e3d17887fa4c8ef3f8a /internal/handlers/handler_register_webauthn_test.go
parent8acc7df7ad270ab041e10a11612010c6d4568283 (diff)
build(deps): update @simplewebauthn monorepo to v10 (#7380)
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/handlers/handler_register_webauthn_test.go')
-rw-r--r--internal/handlers/handler_register_webauthn_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/handler_register_webauthn_test.go b/internal/handlers/handler_register_webauthn_test.go
index fc9a8b81f..5a44ea3ef 100644
--- a/internal/handlers/handler_register_webauthn_test.go
+++ b/internal/handlers/handler_register_webauthn_test.go
@@ -57,7 +57,7 @@ func TestWebAuthnRegistrationPUT(t *testing.T) {
Return(nil, nil),
)
},
- regexp.MustCompile(`^\{"status":"OK","data":\{"publicKey":\{"rp":\{"name":"Authelia","id":"example.com"},"user":\{"name":"john","displayName":"john","id":"ZytlJlVuWzdgN2BxTyI8Uy9uS2xpJSdsT2ZsJUA5UEBve1c2NENCKDNSWWphaGVCJEhlQ3wpYT9HQGBwIi8zQA=="},"challenge":"[a-zA-Z0-9/_-]+={0,2}","pubKeyCredParams":\[\{"type":"public-key","alg":-7},\{"type":"public-key","alg":-35},\{"type":"public-key","alg":-36},\{"type":"public-key","alg":-257},\{"type":"public-key","alg":-258},\{"type":"public-key","alg":-259},\{"type":"public-key","alg":-37},\{"type":"public-key","alg":-38},\{"type":"public-key","alg":-39},\{"type":"public-key","alg":-8}],"timeout":60000,"authenticatorSelection":\{"authenticatorAttachment":"cross-platform","requireResidentKey":false,"residentKey":"discouraged","userVerification":"preferred"},"attestation":"indirect","extensions":\{"credProps":true}}}}$`),
+ regexp.MustCompile(`^\{"status":"OK","data":\{"publicKey":\{"rp":\{"name":"Authelia","id":"example.com"},"user":\{"name":"john","displayName":"john","id":"Wnl0bEpsVnVXemRnTjJCeFR5SThVeTl1UzJ4cEpTZHNUMlpzSlVBNVVFQnZlMWMyTkVOQ0tETlNXV3BoYUdWQ0pFaGxRM3dwWVQ5SFFHQndJaTh6UUE9PQ"},"challenge":"[a-zA-Z0-9/_-]+={0,2}","pubKeyCredParams":\[\{"type":"public-key","alg":-7},\{"type":"public-key","alg":-35},\{"type":"public-key","alg":-36},\{"type":"public-key","alg":-257},\{"type":"public-key","alg":-258},\{"type":"public-key","alg":-259},\{"type":"public-key","alg":-37},\{"type":"public-key","alg":-38},\{"type":"public-key","alg":-39},\{"type":"public-key","alg":-8}],"timeout":60000,"authenticatorSelection":\{"authenticatorAttachment":"cross-platform","requireResidentKey":false,"residentKey":"discouraged","userVerification":"preferred"},"attestation":"indirect","extensions":\{"credProps":true}}}}$`),
fasthttp.StatusOK,
nil,
},