I'm trying to use webauthn and passkey using `<@U0...
# ory-selfhosting
g
I'm trying to use webauthn and passkey using
<@U010S8T03NG>/elements
, running into this error.
not sure what's the correct way to do it but was able to fix this issue by importing/adding this file manually on our codebase, https://github.com/ory/kratos/blob/master/x/webauthnx/js/webauthn.js
s
Ideally you would load the script in the browser directly from the API, so that you don't need to update it in your codebase on upgrades.
g
what/where exactly is that api?
g
cool, thanks