Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: validate rp_id matches default one #24

Merged
merged 2 commits into from
May 25, 2018
Merged

Conversation

brauliomartinezlm
Copy link
Member

No description provided.

@brauliomartinezlm
Copy link
Member Author

@grzuy I've just confirmed in FF that when you change the rp_id sent from the server to a host that doesn't match the origin the navigator.credentials.create call fails with DOMException: The operation is insecure.

Copy link
Contributor

@grzuy grzuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@brauliomartinezlm brauliomartinezlm merged commit bb74da5 into master May 25, 2018
@brauliomartinezlm brauliomartinezlm deleted the rp_id_validation branch May 25, 2018 14:57
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.

None yet

2 participants