Add aria-label to token field on admin login page #188

Closed
opened 2026-04-05 20:36:18 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @martinstenrose on 1/2/2026

This makes it possible for Bitwarden to autofill admin token by using a Custom Field [1] named "Admin token". Autofill for custom fields works by matching a form element's id, name, aria-label, or placeholder [2].

Currently, autofill can be configured using a custom field named "Token", which is somewhat generic and may be confused with other credentials such as an API token.

[1] https://bitwarden.com/help/custom-fields/
[2] https://bitwarden.com/help/auto-fill-custom-fields/

*Originally created by @martinstenrose on 1/2/2026* This makes it possible for Bitwarden to autofill admin token by using a Custom Field [1] named "Admin token". Autofill for custom fields works by matching a form element's id, name, aria-label, or placeholder [2]. Currently, autofill can be configured using a custom field named "Token", which is somewhat generic and may be confused with other credentials such as an API token. [1] https://bitwarden.com/help/custom-fields/ [2] https://bitwarden.com/help/auto-fill-custom-fields/
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#188