WebAuthn setup unauthorized #339
Unanswered
YasuhiroYoshida
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Is setting up passkeys working for you in the official Rails demo app? If yes, can you spot differences with your app? If not, could you share a fresh Rails app that reproduces the issue? Rodauth shouldn't be returning 401s unless in JSON mode or maybe performing HTTP Basic Auth, so I'm surprised your getting one. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a clean-slate Rails 8 application with rodauth-rails.
As an added security, I am adding Passkeys functionality.
It's great up until I click "Setup WebAuthn Authentication" which produces an 401 error.
Example:
app/misc/rodauth_app.rb:32
is wherer.rodauth
goes inside RodauthApp like thisI read Janko's articles and watched his videos many times. I don't think I have screwed up anything. It would be nice if I could get hints to solve this issue.
But I believe what I need the most is how to debug rodauth(-rails). The usual
binding.pry
ordebugger
won't work; it stops at the breakpoint, but it is unresponsive to my input. How does everyone debug for rodauth(-rails)?Beta Was this translation helpful? Give feedback.
All reactions