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 +4 -4
- data/lib/action_auth/version.rb +1 -1
- data/lib/action_auth.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bb10f230297532b1f92171b1c630f1b85cf576683d794f3153dde1a2e302ff7
|
4
|
+
data.tar.gz: 50b190c67eee081e5259aeeab727f358c9b28afddd1d19a829bd6b95abe0feb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06b074610497625d663c3825c814d4c90270b78a65f7438a9ed545667e9db66df0f9824c4da4bf33e89ecaee7229cbe77baca3c2614a9dee0ee3931c96fb61c9
|
7
|
+
data.tar.gz: abb5dfa9fc3327e56f5eb0ff52839534bcaa8e19342a37bb3b4cc4d5e51a53cce6e563ff8858f49db23cde8b5c9bea5ea22a64f958b08daa42c4eeaec27d5c81
|
data/lib/action_auth/version.rb
CHANGED
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.
|
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.
|
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:
|
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.
|
134
|
+
rubygems_version: 3.6.7
|
135
135
|
specification_version: 4
|
136
136
|
summary: A simple Rails engine for authorization.
|
137
137
|
test_files: []
|