goauthentik / goauthentik/authentik

stages/identification: passwordless flow button label is hardcoded to "Use a security key"

Open
#22,042 0 comments 0 reactions 2 assignees Claimed by @gergosimonyi View on GitHub
enhancement/confirmed
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 2h
Merged PRs (30d)
651

Description

**Describe the bug**

`IdentificationStage.passwordless_flow` is a generic mechanism — admins point it at any authentication flow. But the button text is hardcoded to "Use a security key", which does not match non-WebAuthn passwordless flows (e.g., email-based authentication).

**To reproduce**
1. Create an EmailStage flow for passwordless auth
2. Set `passwordless_flow` on an IdentificationStage to that flow
3. Visit the login page
4. Button says "Use a security key" regardless of what the flow does

**Expected behavior**
Admins should be able to configure the button label, or the label should reflect the flow's purpose.

**Proposed solution**
Add an optional `passwordless_label` field to IdentificationStage. When blank → existing behavior. When set → renders custom text.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.