omniauth-saml 1.3.0 → 1.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3fbf2c866dd9c9b7843a160be875332185f0f97
4
- data.tar.gz: 7b633d77ad60c42ef1f263901cf795c29862be2f
3
+ metadata.gz: 6138bffe319117124ead7fa5f3214d473f42ee56
4
+ data.tar.gz: 7b52115592c3a2352dab848ce4c4b3b234e0a2a8
5
5
  SHA512:
6
- metadata.gz: c75c15118de34c8960ee4516b9c32633db4cb11a96271d3d76dc194ceaaf5ffa15ead1b078df39ad77c11dd6d54cd5660640e1eb547587fc0499ff53cce46452
7
- data.tar.gz: ccb0ab71a1be6fb2d88291c58756239ec89fcc5cdb9d74abc60052430c1524fe4422670c0bfa2c324de6303e8e383ef139a1d1a04fc58a2e292d9089d2b476f8
6
+ metadata.gz: c1b79f1c4f22ef5e7e0b87bb59ed3c8f425d7415496c5f11a65d79aa492b994d837719b0209b1926b71c8e7db1447cb04fe9b43c437bb5b014dae32a358f61da
7
+ data.tar.gz: 636bf81fbe962eb3f9dfd9ce236e13df3b93c6bc6a069524e7c80fa636702ef85aa44265af329fc22e35b318eeb646232a02d5144af8f8e7ef07bad5bf6b9830
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module SAML
3
- VERSION = '1.3.0'
3
+ VERSION = '1.3.1'
4
4
  end
5
5
  end
@@ -41,6 +41,7 @@ module OmniAuth
41
41
 
42
42
  response = OneLogin::RubySaml::Response.new(request.params['SAMLResponse'], options)
43
43
  response.settings = OneLogin::RubySaml::Settings.new(options)
44
+ response.attributes['fingerprint'] = options.idp_cert_fingerprint
44
45
 
45
46
  @name_id = response.name_id
46
47
  @attributes = response.attributes
@@ -79,7 +79,8 @@ describe OmniAuth::Strategies::SAML, :type => :strategy do
79
79
  'first_name' => 'Rajiv',
80
80
  'last_name' => 'Manglani',
81
81
  'email' => 'user@example.com',
82
- 'company_name' => 'Example Company'
82
+ 'company_name' => 'Example Company',
83
+ 'fingerprint' => saml_options[:idp_cert_fingerprint]
83
84
  }
84
85
  end
85
86
  end
@@ -100,7 +101,8 @@ describe OmniAuth::Strategies::SAML, :type => :strategy do
100
101
  'first_name' => 'Rajiv',
101
102
  'last_name' => 'Manglani',
102
103
  'email' => 'user@example.com',
103
- 'company_name' => 'Example Company'
104
+ 'company_name' => 'Example Company',
105
+ 'fingerprint' => 'C1:59:74:2B:E8:0C:6C:A9:41:0F:6E:83:F6:D1:52:25:45:58:89:FB'
104
106
  }
105
107
  end
106
108
  end
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: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raecoo Cao
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-02-05 00:00:00.000000000 Z
16
+ date: 2015-03-02 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: omniauth
@@ -119,10 +119,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.2.2
122
+ rubygems_version: 2.4.1
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: A generic SAML strategy for OmniAuth.
126
126
  test_files:
127
127
  - spec/omniauth/strategies/saml_spec.rb
128
128
  - spec/spec_helper.rb
129
+ has_rdoc: