You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Email template in KeePassDX, autofill seems to ignore the email field and instead uses the Username/Password fields from the default login behavior. This results in incorrect autofill behavior for apps like Disney Plus, Netflix, and websites like Google Accounts or GitHub.
Entry without a username: Autofill skips the email field and leaves it blank.
Entry with a username: Autofill prioritizes the username field and ignores the email field.
To Reproduce
Steps to reproduce the behavior:
go to Settings > Database settings > toggle Template usage. Leave Templates group as default Templates group to create base KeePassDX templates.
at home screen click on "+" at bottom right > Add entry.
on top of the add entry screen change from "Standard" to "Email"
URL: let's use a basic one, "https://google.com/", shold be valid for any subdomain and in any case I could manually select the entry
Password: any
Tags: I don't use
Finish the entry
For double test we create 2 entries, one with an username and one without. So for the second one before change the template you add something at the Standard view to the Username(adding at Email Template view receives an error "the field name already exists") then switch normally to Email template and create the second entry.
on keyboard toolbar click on "Sign in with KeePassDX" > Gmail template. It will appear "Autofill suggestions added" but when you click to fill the form it searchs for an username field than when not found it jumps to the next html element.
click to select another entry > Gmail template(username). It will appear "Autofill suggestions added" but when you click to fill it search for an username then put it instead the email.
Expected behavior
The Email template should autofill the email field when using the "Sign in with KeePassDX" option. Otherwise, it defeats the purpose of the Email template as a functional login method.
Additional Questions
I'm new to KeePass and not entirely sure if I'm misunderstanding how this feature works. Is the Email template intended purely for visual organization, while the Username field remains mandatory for autofill to function correctly?
For example, should I duplicate the email value into the Username field to make autofill work as expected? If that's the case, could you clarify the intended workflow?
On KeePass for Windows, I noticed it’s possible to edit which fields are used during autofill. Does KeePassDX support this, or would I need to rely on plugins for this functionality?
KeePass Database
Created with: Same KeePassDX 4.1.1
Version: V2 - KDBX3.1
Location: Local folder
File provider (content:// URI): do not know what is this
Size: 2.7kb
Contains attachment: No
KeePassDX:
Version: 4.1.1
Build: Libre
Language: English
Android:
Device: Samsung Galaxy S23
Version: 14
Additional context
Add any other context about the problem here.
Browser for Autofill: Firefox 134.0.2
App for Autofill: Netflix 8.143.1
The issue persists across apps and websites
The text was updated successfully, but these errors were encountered:
I've searched a bit how the KPEntryTemplates works and how KeePassDX uses it and found that the basic templates are missing a key syntax to use the autofill function:
(Using the Email Basic Template as example)
The "main" field at keepassdx is:
[Email address] text
when it is supposed to be:
[Username] text {alias:Email address}
Describe the bug
When using the Email template in KeePassDX, autofill seems to ignore the email field and instead uses the Username/Password fields from the default login behavior. This results in incorrect autofill behavior for apps like Disney Plus, Netflix, and websites like Google Accounts or GitHub.
Entry without a username: Autofill skips the email field and leaves it blank.
![Image](https://private-user-images.githubusercontent.com/88400130/406446217-76648909-4430-4c75-9e59-401ff4794ab8.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Mzg3NDcsIm5iZiI6MTczOTQzODQ0NywicGF0aCI6Ii84ODQwMDEzMC80MDY0NDYyMTctNzY2NDg5MDktNDQzMC00Yzc1LTllNTktNDAxZmY0Nzk0YWI4LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDA5MjA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0YmI1ODg0YjI2MzNjN2ZiZmE5MDU2YWJiMzlkMTc4YTRlZWZiMmM4OGIwM2RlYTE5NDY3YjEyNWJlNzI5MDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.plYJOby7DxGipN4fOr5aF0RkH_D3pMQxcjOV8rObuos)
Entry with a username: Autofill prioritizes the username field and ignores the email field.
![Image](https://private-user-images.githubusercontent.com/88400130/406446392-8aa68fbe-4f96-44b0-9ecc-d66f4dd0c150.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Mzg3NDcsIm5iZiI6MTczOTQzODQ0NywicGF0aCI6Ii84ODQwMDEzMC80MDY0NDYzOTItOGFhNjhmYmUtNGY5Ni00NGIwLTllY2MtZDY2ZjRkZDBjMTUwLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDA5MjA0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4OTg5ZTM1MTk1MWQwNTU4MTc4OGFiM2RmNDc4ZmUwYWZhNmQ0OTQ5Mzc3MzdlOWI3NjFiM2ExNDM3ZGZiZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PwZZViMyROfBJLsapvlH9IOuKcXGXDHTmhOnPq2x9BY)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Email template should autofill the email field when using the "Sign in with KeePassDX" option. Otherwise, it defeats the purpose of the Email template as a functional login method.
Additional Questions
I'm new to KeePass and not entirely sure if I'm misunderstanding how this feature works. Is the Email template intended purely for visual organization, while the Username field remains mandatory for autofill to function correctly?
For example, should I duplicate the email value into the Username field to make autofill work as expected? If that's the case, could you clarify the intended workflow?
On KeePass for Windows, I noticed it’s possible to edit which fields are used during autofill. Does KeePassDX support this, or would I need to rely on plugins for this functionality?
KeePass Database
content://
URI): do not know what is thisKeePassDX:
Android:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: