Replies: 2 comments
-
Hi @lcmen! 👋 It should work properly with However, the Could it be caused by HSTS? Have you developed another project using localhost with https? If you go to |
Beta Was this translation helpful? Give feedback.
-
Hey @santiagorodriguez96!
I don't have any HSTS records for localhost. On the other hand, I don't know what happened but now everything works on HTTP. I was using PS. I was using a following config to test it: WebAuthn.configure do |config|
config.origin = ENV.fetch("WEB_AUTHN_ORIGIN", "http://localhost:3000")
config.rp_id = ENV.fetch("WEB_AUTHN_RP_ID", "localhost")
config.rp_name = "MyApp"
end |
Beta Was this translation helpful? Give feedback.
-
Hey!
What
config.rp_id
andconfig.origin
values should I use to make this library work onhttp://localhost:3000
?I'm trying to pair
webauthn-ruby
withgithub/webauthn-json
but I'm gettingError: 'origin' is not a valid https origin
when I callcreate({ payload: options })
.Thank you in advance for any hints!
Beta Was this translation helpful? Give feedback.
All reactions