omniauth-saml 2.2.1 → 2.2.2
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.
Potentially problematic release.
This version of omniauth-saml might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/omniauth/strategies/saml.rb +1 -1
- data/lib/omniauth-saml/version.rb +1 -1
- data/spec/omniauth/strategies/saml_spec.rb +2 -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: '09afe8539d2c8a27acd3b1b7ca8d76161e4aa97abf8a9daf1823d538171bbff4'
|
4
|
+
data.tar.gz: 2d45bf22f8c0d15f72d9d3a722be49a0493bc1a0100878374cd914994808d484
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3b46bcc1f12a72a54c6c52be2b47dec9e855d0812b5884b74555665c69f255b23ee4bcbe1225ddc58d0359f216571fde7f4e9ff80e0482fb87e055c429ba19a
|
7
|
+
data.tar.gz: f9f65700dfe33911ca1d26d3890465bc79759dcddd2b2c823ddf4d5cde8b67acdeaaeffad101087b0a517f9ae420fb1d3f4f13853eaacf27e7c8441709c4aa15
|
data/CHANGELOG.md
CHANGED
@@ -190,7 +190,7 @@ module OmniAuth
|
|
190
190
|
logout_response = OneLogin::RubySaml::SloLogoutresponse.new.create(settings, logout_request_id, nil, RelayState: slo_relay_state)
|
191
191
|
redirect(logout_response)
|
192
192
|
else
|
193
|
-
raise OmniAuth::Strategies::SAML::ValidationError.new("SAML failed to process LogoutRequest")
|
193
|
+
raise OmniAuth::Strategies::SAML::ValidationError.new("SAML failed to process LogoutRequest (#{logout_request.errors.join(', ')})")
|
194
194
|
end
|
195
195
|
end
|
196
196
|
|
@@ -346,12 +346,13 @@ describe OmniAuth::Strategies::SAML, :type => :strategy do
|
|
346
346
|
context "when request is an invalid logout request" do
|
347
347
|
before :each do
|
348
348
|
allow_any_instance_of(OneLogin::RubySaml::SloLogoutrequest).to receive(:is_valid?).and_return(false)
|
349
|
+
allow_any_instance_of(OneLogin::RubySaml::SloLogoutrequest).to receive(:errors).and_return(['Blank logout request'])
|
349
350
|
end
|
350
351
|
|
351
352
|
# TODO: Maybe this should not raise an exception, but return some 4xx error instead?
|
352
353
|
it "should raise an exception" do
|
353
354
|
expect { subject }.
|
354
|
-
to raise_error(OmniAuth::Strategies::SAML::ValidationError, 'SAML failed to process LogoutRequest')
|
355
|
+
to raise_error(OmniAuth::Strategies::SAML::ValidationError, 'SAML failed to process LogoutRequest (Blank logout request)')
|
355
356
|
end
|
356
357
|
end
|
357
358
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-saml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raecoo Cao
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date:
|
17
|
+
date: 2025-03-04 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: omniauth
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
- !ruby/object:Gem::Version
|
163
163
|
version: '0'
|
164
164
|
requirements: []
|
165
|
-
rubygems_version: 3.
|
165
|
+
rubygems_version: 3.4.19
|
166
166
|
signing_key:
|
167
167
|
specification_version: 4
|
168
168
|
summary: A generic SAML strategy for OmniAuth.
|