Skip to content

Web Authentication (WebAuthn) support #3

@mguinness

Description

@mguinness

Have you considered adding support for WebAuthn? Either a resident key for passwordless login or a non-resident key for 2FA?

For an example see the Password and authentication settings in GitHub which allow for with both passkeys and security keys.

You can trigger the passwordless signin flow on the username input field, see Sign in with a passkey through form autofill.

I found a very basic example at WebAuthn for your small scale web applications that acts as a proxy for nginx auth_request.

It utilizes the Web Authentication API which uses navigator.credentials.create() and navigator.credentials.get().

Be aware that WebAuthn requires a secure context, i.e. https:// with the exception being http://localhost for development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions