omniauth-saml 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of omniauth-saml might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/README.md +4 -4
- data/lib/omniauth-saml/version.rb +1 -1
- data/spec/omniauth/strategies/saml_spec.rb +1 -1
- metadata +25 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ceb20d4b7de9b9a587366f633eaa9213e0c9488e6e71be1005d1db09bf076219
|
4
|
+
data.tar.gz: 3328f3ad5637d9674f2bf6ee8cf535a55ccbf6c49a27f18bf33661541f5e534f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fb613e5588bfb050413c4f82af4344e31fd0e30db5e50f247f2b6710d12c4a445cfa23989fdb4403227d72728c1750d11cb9ea652c770f2b5fa8d20fa57b13e
|
7
|
+
data.tar.gz: 845be247c0f7b7c40f23f701266ada45d2f356a5e1c25d421eff53d4d1e4a6ec759840c53c7dc9084e62469c6073703038d7d61c2c6ae4fd78d33fb986061613
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
<a name="v2.2.0"></a>
|
2
|
+
### v2.2.0 (2024-09-10)
|
3
|
+
|
4
|
+
This release fixes:
|
5
|
+
|
6
|
+
* [GHSA-jw9c-mfg7-9rx2](https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2)
|
7
|
+
* [GHSA-cvp8-5r8g-fhvq](https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq)
|
8
|
+
|
9
|
+
#### Chores
|
10
|
+
|
11
|
+
* use semantic versioning for ruby-saml as per gem build hints ([e17f460](/../../commit/e17f460))
|
12
|
+
|
13
|
+
<a name="v2.1.1"></a>
|
14
|
+
### v2.1.1 (2024-09-10)
|
15
|
+
|
16
|
+
#### Chores
|
17
|
+
|
18
|
+
* Add Ruby 3.1 to the CI matrix ([8954310](/../../commit/8954310))
|
19
|
+
* Add Ruby 3.2 to CI matrix ([9403366](/../../commit/9403366))
|
20
|
+
* Fix copy-pasteability of code example ([3eb8942](/../../commit/3eb8942))
|
21
|
+
* bump dependencies and remove ruby eol versions ([c6fc2db](/../../commit/c6fc2db))
|
22
|
+
* Remove old maintainer email from gemspec ([9f6daa](/../../commit/9f6daa))
|
23
|
+
|
1
24
|
<a name="v2.1.0"></a>
|
2
25
|
### v2.1.0 (2022-03-01)
|
3
26
|
|
data/README.md
CHANGED
@@ -15,8 +15,8 @@ https://github.com/omniauth/omniauth-saml
|
|
15
15
|
|
16
16
|
## Requirements
|
17
17
|
|
18
|
-
* [OmniAuth](http://www.omniauth.org/) 1
|
19
|
-
* Ruby
|
18
|
+
* [OmniAuth](http://www.omniauth.org/) 2.1+
|
19
|
+
* Ruby 3.1.x+
|
20
20
|
|
21
21
|
## Versioning
|
22
22
|
|
@@ -37,7 +37,7 @@ use OmniAuth::Strategies::SAML,
|
|
37
37
|
:idp_cert_multi => {
|
38
38
|
:signing => ["-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----", "-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----", ...],
|
39
39
|
:encryption => []
|
40
|
-
}
|
40
|
+
},
|
41
41
|
:idp_cert_fingerprint => "E7:91:B2:E1:...",
|
42
42
|
:idp_cert_fingerprint_validator => lambda { |fingerprint| fingerprint },
|
43
43
|
:name_identifier_format => "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
|
@@ -64,7 +64,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
|
|
64
64
|
:idp_cert_multi => {
|
65
65
|
:signing => ["-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----", "-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----", ...],
|
66
66
|
:encryption => []
|
67
|
-
}
|
67
|
+
},
|
68
68
|
:idp_cert_fingerprint => "E7:91:B2:E1:...",
|
69
69
|
:idp_cert_fingerprint_validator => lambda { |fingerprint| fingerprint },
|
70
70
|
:name_identifier_format => "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
|
@@ -410,7 +410,7 @@ describe OmniAuth::Strategies::SAML, :type => :strategy do
|
|
410
410
|
|
411
411
|
it 'should get SP metadata page' do
|
412
412
|
expect(last_response.status).to eq 200
|
413
|
-
expect(last_response.
|
413
|
+
expect(last_response.headers["Content-Type"]).to eq "application/xml"
|
414
414
|
end
|
415
415
|
|
416
416
|
it 'should configure attributes consuming service' do
|
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.
|
4
|
+
version: 2.2.0
|
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: 2024-09-10 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: omniauth
|
@@ -22,120 +22,114 @@ dependencies:
|
|
22
22
|
requirements:
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '2.
|
25
|
+
version: '2.1'
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
28
|
version_requirements: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
30
|
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '2.
|
32
|
+
version: '2.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: ruby-saml
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.17'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.17'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: '13.2'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - "
|
58
|
+
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
60
|
+
version: '13.2'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rspec
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '3.
|
67
|
+
version: '3.13'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '3.
|
74
|
+
version: '3.13'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: simplecov
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0.
|
81
|
+
version: '0.10'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '0.
|
88
|
+
version: '0.10'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: rack-test
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
96
|
-
- - ">="
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: 0.6.3
|
95
|
+
version: '2.1'
|
99
96
|
type: :development
|
100
97
|
prerelease: false
|
101
98
|
version_requirements: !ruby/object:Gem::Requirement
|
102
99
|
requirements:
|
103
100
|
- - "~>"
|
104
101
|
- !ruby/object:Gem::Version
|
105
|
-
version: '
|
106
|
-
- - ">="
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: 0.6.3
|
102
|
+
version: '2.1'
|
109
103
|
- !ruby/object:Gem::Dependency
|
110
104
|
name: conventional-changelog
|
111
105
|
requirement: !ruby/object:Gem::Requirement
|
112
106
|
requirements:
|
113
107
|
- - "~>"
|
114
108
|
- !ruby/object:Gem::Version
|
115
|
-
version: '1.
|
109
|
+
version: '1.3'
|
116
110
|
type: :development
|
117
111
|
prerelease: false
|
118
112
|
version_requirements: !ruby/object:Gem::Requirement
|
119
113
|
requirements:
|
120
114
|
- - "~>"
|
121
115
|
- !ruby/object:Gem::Version
|
122
|
-
version: '1.
|
116
|
+
version: '1.3'
|
123
117
|
- !ruby/object:Gem::Dependency
|
124
118
|
name: coveralls
|
125
119
|
requirement: !ruby/object:Gem::Requirement
|
126
120
|
requirements:
|
127
|
-
- - "
|
121
|
+
- - "~>"
|
128
122
|
- !ruby/object:Gem::Version
|
129
|
-
version: 0.8
|
123
|
+
version: '0.8'
|
130
124
|
type: :development
|
131
125
|
prerelease: false
|
132
126
|
version_requirements: !ruby/object:Gem::Requirement
|
133
127
|
requirements:
|
134
|
-
- - "
|
128
|
+
- - "~>"
|
135
129
|
- !ruby/object:Gem::Version
|
136
|
-
version: 0.8
|
130
|
+
version: '0.8'
|
137
131
|
description: A generic SAML strategy for OmniAuth.
|
138
|
-
email:
|
132
|
+
email:
|
139
133
|
executables: []
|
140
134
|
extensions: []
|
141
135
|
extra_rdoc_files: []
|
@@ -161,14 +155,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
161
155
|
requirements:
|
162
156
|
- - ">="
|
163
157
|
- !ruby/object:Gem::Version
|
164
|
-
version: '
|
158
|
+
version: '3.1'
|
165
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
160
|
requirements:
|
167
161
|
- - ">="
|
168
162
|
- !ruby/object:Gem::Version
|
169
163
|
version: '0'
|
170
164
|
requirements: []
|
171
|
-
rubygems_version: 3.
|
165
|
+
rubygems_version: 3.5.15
|
172
166
|
signing_key:
|
173
167
|
specification_version: 4
|
174
168
|
summary: A generic SAML strategy for OmniAuth.
|