WebAuthn script is not loading in page router example
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 187
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
master
Describe the bug
When trying to use PassKeys with the example app, it fails because webauthn.js is not being loaded.
However, the script is there:
But it is not being loaded:
Reproducing the bug
Run one of the examples and go to login.
Relevant log output
Relevant configuration
Version
master
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
It's probably not loading because we add it dynamically? But I don't understand why it loads for the account experience?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run one of the examples and visit the login page to reproduce the missing webauthn.js failure. Compare the page router example's dynamic script loading with the account experience, and consider the issue done when PassKey login loads the script successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100