Skip to content

fix(webauthn): default rp.id to effective domain and reject ip-literal rp ids#285

Open
AlfioEmanueleFresta wants to merge 1 commit into
masterfrom
fix/rpid-default-and-validate
Open

fix(webauthn): default rp.id to effective domain and reject ip-literal rp ids#285
AlfioEmanueleFresta wants to merge 1 commit into
masterfrom
fix/rpid-default-and-validate

Conversation

@AlfioEmanueleFresta

Copy link
Copy Markdown
Member

Registration now defaults a missing RP ID to the caller effective domain, matching the assertion ceremony and the spec, instead of failing. Origins whose host is an IP address are rejected rather than used as an RP ID. This removes an inconsistency between the create and get paths and closes a malformed RP ID case.

@AlfioEmanueleFresta AlfioEmanueleFresta marked this pull request as ready for review June 20, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant