Not Allowed Error #452
Replies: 5 comments 2 replies
-
You'll want provide a lot more info before anyone can help. OS, browser, and probably some code since it looks like you're writing a single-page app. A basic reproduction repo, a Codepen, etc... is nice too, if possible. |
Beta Was this translation helpful? Give feedback.
-
I get that error too, startAuthentication() throwing an exception, running on windows 11, using chrome and edge. On Using firefox, I get the error "UnknownError: The authenticator was unable to process the specified options, or could not create a new assertion signature" The parameter to startAuthentication is: Note the "id" is empty - server side the "generateAuthenticationOptions()" nuked it. |
Beta Was this translation helpful? Give feedback.
-
This is what I pass to "generateAuthenticationOptions()" on the server:
And this is what is returned from generateAuthenticationOptions():
|
Beta Was this translation helpful? Give feedback.
-
Just had a look at generateAuthenticationOptions code, it appears its wants the credential id to be a buffer, not a base64 encoded string. So that fixes that issue, on to the next problem! |
Beta Was this translation helpful? Give feedback.
-
I needed to convert my base64 strings to Buffers. The code I use looks something like this:
|
Beta Was this translation helpful? Give feedback.
-
Suprising this flow was working like about an hour ago, and then I just tried to check it again, but I am getting this error. What could be the possible reasons for this error? And how should i go about fixing this?
Beta Was this translation helpful? Give feedback.
All reactions