StrongKey / fido2

Open-source FIDO server, featuring the FIDO2 standard. https://demo4.strongkey.com/getstarted/#/openapi/fido
202 stars 59 forks source link

FIDO-ERR-5011: Json could not be parsed : {0}Policy requires counter increase #232

Closed adityarao1 closed 1 year ago

adityarao1 commented 1 year ago

I have created one android application using SACL. But, during authentication i'm getting error message as [2023-01-12T12:53:22.416+0000] [Payara 5.2020.7] [SEVERE] [] [SKFS] [tid: _ThreadID=162 _ThreadName=http-thread-pool::http-listener-2(2)] [timeMillis: 1673528002416] [levelValue: 1000] [[ FIDO-ERR-5011: Json could not be parsed : Policy requires counter increase]]

First time it is working fine but when i'm doing the authentication second time the error message is coming. Please suggest what needs to be done to increase the counter.

arshadnoor commented 1 year ago

Can you post the logs of the SACL when you are performing the first and the second authentication? You will have to execute the app while connected to Android Studio and the logs from the app+SACL have to be displayed in our log-output panel. Capture the relevant sections of the log where the counter is being incremented and see what SACL is doing.

Which version of SKFS are you using with the SACL?

On 1/12/23 5:15 AM, adityarao1 wrote:

I have created one android application using SACL. But, during authentication i'm getting error message as |[2023-01-12T12:53:22.416+0000] [Payara 5.2020.7] [SEVERE] [] [SKFS] [tid: _ThreadID=162 _ThreadName=http-thread-pool::http-listener-2(2)] [timeMillis: 1673528002416] [levelValue: 1000] [[ FIDO-ERR-5011: Json could not be parsed : Policy requires counter increase]] |

First time it is working fine but when i'm doing the authentication second time the error message is coming. Please suggest what needs to be done to increase the counter.

— Reply to this email directly, view it on GitHub https://github.com/StrongKey/fido2/issues/232, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWSVTUDRQ7IDN2CO57YRODWR77YFANCNFSM6AAAAAATZHXSEQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

push2085 commented 1 year ago

Closing this issue as the discussion has been moved to https://github.com/StrongKey/fido2/issues/234