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

Don't serve traffic in Heroku domain #13

Merged

Conversation

santiagorodriguez96
Copy link
Contributor

Use rack-host-redirect gem to redirect traffic away from Heroku domain (https://webauthn-2fa.herokuapp.com) to the main site (https://webauthn-2fa.cedarcode.com)

This is needed because registering keys in the heroku domain won't work given that it is not WebAuthn expected origin - so a WebAuthn::OriginVerificationError will be raised.

This is needed because registering keys in the heroku domain won't work
given that it is not WebAuthn expected origin - so a
`WebAuthn::OriginVerificationError` will be raised.
@santiagorodriguez96 santiagorodriguez96 merged commit 5363dd6 into master Oct 25, 2022
@santiagorodriguez96 santiagorodriguez96 deleted the sr/feat/dont-serve-traffic-in-heroku-domain branch October 25, 2022 18:17
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