We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb0a65 commit 301d2daCopy full SHA for 301d2da
config/initializers/webauthn.rb
@@ -14,7 +14,7 @@
14
end
15
# If this origin doesn't match the request origin, the request will fail.
16
# In that case, a `WebAuthn::OriginVerificationError` will be raised.
17
- config.origin = Rails.application.routes.url_helpers.root_url.chomp('/')
+ config.allowed_origins = [Rails.application.routes.url_helpers.root_url.chomp('/')]
18
19
# Relying Party name for display purposes
20
config.rp_name = ApplicationHelper::APPLICATION_NAME
0 commit comments