Skip to content

Add support for Related Origin Requests with passkeys#2828

Merged
varjolintu merged 3 commits intodevelopfrom
feature/passkeys_related_origin_requests
Feb 16, 2026
Merged

Add support for Related Origin Requests with passkeys#2828
varjolintu merged 3 commits intodevelopfrom
feature/passkeys_related_origin_requests

Conversation

@varjolintu
Copy link
Copy Markdown
Member

@varjolintu varjolintu commented Jan 17, 2026

Adds support for Related Origin Requests for passkeys. The specification for this is available here: https://www.w3.org/TR/webauthn-3/#sctn-related-origins

In short, the RP ID domain is requested for a list of related origins that can be used when registering a new passkey. For example Facebook and Microsoft is using this feature, and #2808 depends on this. KeePassXC side implementation is also needed for this to actually work. The Related Origins list is always downloaded from https://<RP_ID>/.well-known/webauthn.

The change also introduces a static timeout for the AbortSignal so the web requests will timeout after five seconds. Because of this the minimum browser versions must be upgraded.

Related KeePassXC side PR: keepassxreboot/keepassxc#12971

Testing strategy

For now the only way to check the related origins array is when a new passkeys is created in Facebook or Microsoft account page. A breakpoint must be set to the keepass.passkeysRegister() for checking the value. Actual validation for the labels will be implemented to KeePassXC side.

At least the following lists are found:
https://login.microsoftonline.com/.well-known/webauthn
https://accounts.meta.com/.well-known/webauthn
https://www.amazon.de/.well-known/webauthn

Type of change

  • ✅ New feature (change that adds functionality)

@varjolintu
Copy link
Copy Markdown
Member Author

Possibly the maximum amount of labels needs to be increased. For example Amazon has 56 labels in the list:
https://www.amazon.de/.well-known/webauthn

@varjolintu varjolintu removed the request for review from droidmonkey January 17, 2026 13:38
@varjolintu varjolintu marked this pull request as draft January 17, 2026 13:38
@varjolintu
Copy link
Copy Markdown
Member Author

This is also needed for authentication.

Comment thread keepassxc-browser/background/keepass.js
@droidmonkey
Copy link
Copy Markdown
Member

Since this bumps minimum browser version, this might be a change for 1.10.0 instead of a minor release.

@varjolintu varjolintu force-pushed the feature/passkeys_related_origin_requests branch from 4d75d1e to 5e876f0 Compare February 16, 2026 06:56
@varjolintu varjolintu merged commit bf0969a into develop Feb 16, 2026
1 check passed
@varjolintu varjolintu deleted the feature/passkeys_related_origin_requests branch February 16, 2026 16:08
@varjolintu varjolintu modified the milestones: 1.9.12, 1.10.0 Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants