Replies: 1 comment 1 reply
-
Hello @insha, can you provide an example of how you're calling |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am evaluating using this wonderful library and I ran into a (hopefully) minor roadblock. I didn't want to open an issue, because I am not sure if it is something that I am doing or it an issue with the library.
I am able to register successfully and without issue. However, the issue surfaces when I try to authenticate.
The first part, generating authentication options,
generate_authentication_options
, is fairly straight forward and works flawlessly.Then, from the device I am able to send back the data, that is generated on the device, back to the server. However, when the library tries to verify the signature it is failing with the error:
I am not doing anything with the data that is generated on the device, other than sending it to the server as base64 encoded values.
Options sent to client (create using
generate_authentication_options
) as JSON (usingoptions_to_json
):The data that is sent by the client to the server for verification:
The data when passed to
verify_authentication_response
method yields the error:The following is what I am persisting (in memory) for the user on the server:
Any help will be greatly appreciated and thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions