镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Passwordless login without having to type username #41191

Description

@tushev

Hello,

Currently login with WebAuthn requires typing your username.
It's not always convenient.

It would be nice to have an option to authenticate using a passkey without having to type your username.
Obviously, the passkey must require user verification/PIN to be used in such way.

Thanks!

Activity

  1. changed the title [-][Feature request] Passwordless login without having to type username[/-] [+]Passwordless login without having to type username[/+] on Oct 30, 2023
  2. tushev commented on Nov 21, 2023

    @tushev
    Author
  3. MrRinkana commented on Feb 22, 2024

    @MrRinkana

    I second this, residential keys as default is how it should be done, with 2fa bypassed if such a key is used (see #21215).

    This gives combined first and second factor, with a very nice login-flow, especially considering the combined 2fa.

    Non-residential keys are nice, but the login flow is not the best since you still have to enter your username.
    Non-residential without pin should be disabled unless explicitly enabled trough a warning (unless the key is used for 2fa only).

  4. gguest2021 commented on Dec 24, 2024

    @gguest2021

    Please someone help me configure nextcloud so that it only asks me for login via webauth without typing user and password

  5. MrRinkana commented on Apr 9, 2025

    @MrRinkana

    @gguest2021 To ask questions like that use the forums: help.nextcloud.com; github is for feature requests, bug reports and discussion about them - not where one asks for help. Secondly this issue is not about disabling or hiding password login, it's about supporting residential credentials in securitykeys/passkeys..

    That said, I'm not familiar with any configuration option for your purpose. You could probably add some Javascript that "clicks" the "login with device" button at first load, but it would need to be added every time nc updates.. People in the forums might have better ideas!

  6. tushev commented on Dec 18, 2025

    @tushev
    Author
  7. golemusu commented on Mar 9, 2026

    @golemusu

    Not sure if these are bugs or by design but as it is related I write here.

    The beaty of well designed passkey login is that when you click username field in web-screen where is username and password fields it automatically recognizes that a passkey is saved to your device, there comes a popup which gives option to use it. One more click, then your PIN and you are logged in to service. Of course there must be option to cancel passkey login in the popup as in some rare situations you might want to use traditional username+password login.

    Anyway current state is that you first have to click "log in with a device" button, which is unneeded click. After that you have to write username which is also unnecessary as browser+OS should recognize automatically that passkey exists.

    After this there comes 2FA screen: TOTP or Security Key. I do have set up 2FA but I want it only for situations where I am logging with username+password. I am not saying that someone would not want passkey + 2FA but I'd say that it is unusual as passkey is so much more secure that 2FA become unnecessary in most use cases. And this seems to be almost defacto in many services which use passkeys.

    This week I've logged 10-20 times to Nextcloud web and used TOTP, it would really made things much faster if there is "two-clicks+PIN and you are inside" type of login (or "two-clicks + biometrics if your device has biometric alternative).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions