[Bug]: Show notice for passwordless login when in http
Open
Beginner friendly
Nobody has claimed this yet.
0. Needs triage
32-feedback
bug
feature: authentication
papercut
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Bug description
Steps to reproduce
- Use nextcloud with http only
- Visiting settings
- Wonder why you browser does not support webauth
Expected behavior
We should let the user know that webauthn is only supported in secure context aka https.
Like:
Nextcloud Server version
master
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
Start with apps/settings/src/components/WebAuthn/WebAuthnSection.vue at lines 29-31 and compare the notice pattern in twofactor_webauthn/src/components/LoginSetup.vue at lines 16-22. Update the settings experience so users on HTTP are told that WebAuthn requires a secure context, then verify the notice while visiting settings over HTTP.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- authentication, frontend, security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100