has_secure_passkey 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 454c83b4e39463d50421490b08ae415c3538c48893f906694a85096dc1408416
4
- data.tar.gz: 5daa39a346b5640b2d0ea26ecb41a235d9aa0b7283cc122d272fc08cd840c67e
3
+ metadata.gz: d60ec46a0f356a08daa382861505f23961c77d8e5f1de1b80e0d6d6e830b7939
4
+ data.tar.gz: ee2bba7266aca050dd3cf56ac3b349c712c1e3718c9f465306e860ca81c1cef8
5
5
  SHA512:
6
- metadata.gz: 4f93a4448b35f0048fc6729c508fc60da3f087e539f56cfb1663f3da009b7b17331f1c34f39dad1f456488694ce49aec046e25110c67df795d39c685416cb1ca
7
- data.tar.gz: eef21668eefe42c5b77551c8e1899a85973233586ec49ffc87ea0516e075ea82ff70d6e493f7c46e5ecfddcc6d35882fa3d2399db489ec5d281d2f59ba51c1e3
6
+ metadata.gz: e9d6e8c611b7db01e03876aed6ed627d7793621f4503c52a312b291e7658e6016c365c294091b41b3c3b583cfa42339a064d9e7d8d27a7bfb7774039c03e14b6
7
+ data.tar.gz: 6ec3fbd29b8d09d2803aec6505d286c661d030952011dcc7c06dd826a0b126617b6fabe0de4692f0d30592d74dc3798430fca34de1b19546d8eac2290de32001
@@ -7,7 +7,7 @@ module HasSecurePasskey
7
7
 
8
8
  initializer "has_secure_passkey.webauthn" do |app|
9
9
  WebAuthn.configure do |config|
10
- config.origin = ENV.fetch("APP_URL", app.config.x.url)
10
+ config.allowed_origins = [ ENV.fetch("APP_URL", app.config.x.url) ]
11
11
  config.rp_name = app.name
12
12
  config.credential_options_timeout = 120_000
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module HasSecurePasskey
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_secure_passkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Pezza
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-25 00:00:00.000000000 Z
10
+ date: 2025-02-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rails