action_auth 1.8.0 → 1.8.3

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: c1644cd4614dbea75ccc32618beb37d9c6d0bff8126c4eb0166e09528dcd2464
4
- data.tar.gz: bb7abe7774ba7690bacd9496dc3facc89d7eee8303289619323b25b7d1d64820
3
+ metadata.gz: 3bb10f230297532b1f92171b1c630f1b85cf576683d794f3153dde1a2e302ff7
4
+ data.tar.gz: 50b190c67eee081e5259aeeab727f358c9b28afddd1d19a829bd6b95abe0feb1
5
5
  SHA512:
6
- metadata.gz: b33191d590c1f42d70e3181ff62d38bf2bf65475e35fd9cccc360c6439b0ea5f30328891ed2f4e18ee30cc09cb6ec14181edadf33d67b8d4cc9e8a18ff066660
7
- data.tar.gz: d38436d8e8361c6d5f7f3d22e958e5b8798d448068a43875691c0cef08c6fdc34ed6a431dcecf2bf2d71f5269d8c2394461b06f91815d7d6a4aed070086254ed
6
+ metadata.gz: 06b074610497625d663c3825c814d4c90270b78a65f7438a9ed545667e9db66df0f9824c4da4bf33e89ecaee7229cbe77baca3c2614a9dee0ee3931c96fb61c9
7
+ data.tar.gz: abb5dfa9fc3327e56f5eb0ff52839534bcaa8e19342a37bb3b4cc4d5e51a53cce6e563ff8858f49db23cde8b5c9bea5ea22a64f958b08daa42c4eeaec27d5c81
@@ -1,3 +1,3 @@
1
1
  module ActionAuth
2
- VERSION = "1.8.0"
2
+ VERSION = "1.8.3"
3
3
  end
data/lib/action_auth.rb CHANGED
@@ -20,7 +20,11 @@ module ActionAuth
20
20
  return unless defined?(WebAuthn)
21
21
 
22
22
  WebAuthn.configure do |config|
23
- config.origin = configuration.webauthn_origin
23
+ config.allowed_origins = if configuration.webauthn_origin.is_a?(Array)
24
+ configuration.webauthn_origin
25
+ else
26
+ [configuration.webauthn_origin]
27
+ end
24
28
  config.rp_name = configuration.webauthn_rp_name
25
29
  end
26
30
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Kimura
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rails
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubygems_version: 3.6.6
134
+ rubygems_version: 3.6.7
135
135
  specification_version: 4
136
136
  summary: A simple Rails engine for authorization.
137
137
  test_files: []