From 5dd35093114fd5fdc96883061ee5702dc8c65415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Schnorr=20J=C3=BAnior?= Date: Sun, 12 Oct 2025 19:23:15 -0300 Subject: [PATCH] Change WebAuthn origin to allowed_origins WebAuthn version 3.4.0 added allowed_origins and deprecated origin attribute --- .../authentication/templates/config/initializers/webauthn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generators/authentication/templates/config/initializers/webauthn.rb b/lib/generators/authentication/templates/config/initializers/webauthn.rb index 14881035..f997d171 100644 --- a/lib/generators/authentication/templates/config/initializers/webauthn.rb +++ b/lib/generators/authentication/templates/config/initializers/webauthn.rb @@ -1,4 +1,4 @@ WebAuthn.configure do |config| - config.origin = "http://localhost:3000" + config.allowed_origins = ["http://localhost:3000"] config.rp_name = "Example Inc." end