authrocket 3.4.0 → 3.4.1
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/CHANGELOG.md +4 -0
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/app/controllers/auth_rocket/ar_controller.rb +2 -2
- data/lib/authrocket/api/version.rb +1 -1
- data/lib/authrocket/auth_provider.rb +1 -1
- data/lib/authrocket/rails/controller_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfb53b90a6986d8877e810f2e1dd2034fc45285201269f0264a870e1d8102155
|
4
|
+
data.tar.gz: d0e9abb7924da35f41046ce30ce114186a02a79722be53e1d49b2a2a8766bb7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56e9f2aa33e943ecf0ebd0926e240246c3a52faf31b52a4339554d0089fdfb0c7cce7c1dd07cfcaf5f8c589943ad3cd0b3b9cf74150bc925b2191fc6b46bd823
|
7
|
+
data.tar.gz: fb4ac8faaefe75aa8c0e820738b4f12adebfbbb85922e4abaed7dea7f8b46497b1a883184e643becd32f9ef8a8136191ecef46da4e310dc2bc271e8711e1b527
|
data/CHANGELOG.md
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -137,7 +137,7 @@ Likewise, the built-in handler for `before_action :require_login` will automatic
|
|
137
137
|
# For example, to force the user to always return to "/manage":
|
138
138
|
def require_login
|
139
139
|
unless current_session
|
140
|
-
redirect_to ar_login_url(redirect_uri: "/manage")
|
140
|
+
redirect_to ar_login_url(redirect_uri: "/manage"), allow_other_host: true
|
141
141
|
end
|
142
142
|
end
|
143
143
|
|
@@ -226,7 +226,7 @@ Each of the above are designed for ongoing use. The initial login isn't going to
|
|
226
226
|
return
|
227
227
|
end
|
228
228
|
end
|
229
|
-
redirect_to AuthRocket::Api.credentials[:loginrocket_url]
|
229
|
+
redirect_to AuthRocket::Api.credentials[:loginrocket_url], allow_other_host: true
|
230
230
|
end
|
231
231
|
|
232
232
|
|
@@ -10,9 +10,9 @@ class AuthRocket::ArController < ::ApplicationController
|
|
10
10
|
if AuthRocket::Api.post_logout_path
|
11
11
|
uri = Addressable::URI.parse full_url_for
|
12
12
|
uri.path = AuthRocket::Api.post_logout_path
|
13
|
-
redirect_to ar_logout_url(redirect_uri: uri.to_s)
|
13
|
+
redirect_to ar_logout_url(redirect_uri: uri.to_s), allow_other_host: true
|
14
14
|
else
|
15
|
-
redirect_to ar_logout_url
|
15
|
+
redirect_to ar_logout_url, allow_other_host: true
|
16
16
|
end
|
17
17
|
# set flash message in the child
|
18
18
|
|
@@ -40,7 +40,7 @@ module AuthRocket
|
|
40
40
|
NCore::Collection.new.tap do |coll|
|
41
41
|
coll.metadata = parsed[:metadata]
|
42
42
|
parsed[:data].each do |hash|
|
43
|
-
coll << factory(hash
|
43
|
+
coll << factory({data: hash, metadata: parsed[:metadata]}, creds)
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authrocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AuthRocket Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|