Hi, Some additional info : The base64 for decoded response is : --- !<java.util.LinkedHashMap> timestamp: "2024-04-23T14:14:08.165+00:00" status: 403 error: "Forbidden" message: "Forbidden" path: "/cas/webauthn/register"
Le jeudi 18 avril 2024 à 11:56:56 UTC+2, Frédéric Dussurget a écrit : > Hi, > We cannot register devices anymore with mfa-webauthn since last week. > It works with a clone of cas-overlay-template from April 11th but not with > today's clone (April 18th). Same dependencies and same cas.properties > directives. Master CAS 7 branch. > > When trying to register a new device, I have this message on the login : > > JSON.parse: unexpected non-digit at line 1 column 2 of the JSON data > > In the firefox debugger : > > XHRPOST > https://mycasdev.mywonderfuluniv.fr/cas/webauthn/register > [HTTP/1.1 200 63ms] > > Registration failed DOMException: CredentialContainer request is not > allowed. > createCredential > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:102 > executeRegisterRequest > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:347 > executeRequest > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:444 > performCeremony > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:400 > promise callback*performCeremony > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:386 > register > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:434 > <anonymous> https://mycasdev.mywonderfuluniv.fr/cas/login:373 > webauthn.js:474:21 > Uncaught (in promise) DOMException: CredentialContainer request is not > allowed. > createCredential > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:102 > executeRegisterRequest > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:347 > executeRequest > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:444 > performCeremony > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:400 > promise callback*performCeremony > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:386 > register > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:434 > <anonymous> https://mycasdev.mywonderfuluniv.fr/cas/login:373 > > > If I try to reuse a device that had already been registered, I have this > error in the ff debugger with today's build : > > XHRPOST > https://mycasdev.mywonderfuluniv.fr/cas/webauthn/authenticate > [HTTP/1.1 403 131ms] > > Authentication failed SyntaxError: JSON.parse: unexpected non-digit at > line 1 column 2 of the JSON data webauthn.js:570:17 > authenticate > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:570 > (Asynchrone : promise callback) > authenticate > https://mycasdev.mywonderfuluniv.fr/cas/js/webauthn/webauthn.js:561 > <anonyme> https://mycasdev.mywonderfuluniv.fr/cas/login:356 > Uncaught (in promise) SyntaxError: JSON.parse: unexpected non-digit at > line 1 column 2 of the JSON data > > Regards, > > > > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/c72b84da-8f87-4416-ad71-00dd03f1c5edn%40apereo.org.
