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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/e772b734-7db1-4b07-adb0-c56172f63488n%40apereo.org.

Reply via email to