omniauth-wsfed 0.3.3.pre.beta → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -6
- data/README.md +5 -6
- data/lib/omniauth-wsfed/version.rb +1 -1
- data/lib/omniauth/strategies/wsfed/xml_security.rb +2 -2
- data/omniauth-wsfed.gemspec +2 -2
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 025aec7ff1dd5f1d37eb9343dd2733156b3653c7
|
4
|
+
data.tar.gz: ace41fee3362d3ff68ec5e80b47658d165b3c8f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1583dc5be8f7c670a5bdff7903d4d0dde97803e24855ef3433b5f0012e25a7538dbc1cb45b03951e227c64a7649ae5d02ea5cff8ad59fb861714e44462f5305b
|
7
|
+
data.tar.gz: 2154f3d7eb2d6740e00332ee8da81eb28439b70af8bc3201ba99341cf143b5ffb1706ffb53554db2ca0ba480d485c4a8d04cd2518108480f77a89c2caef7abe7
|
data/.travis.yml
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
-
|
4
|
-
-
|
5
|
-
- 2.
|
6
|
-
- 2.1
|
3
|
+
- 2.6
|
4
|
+
- 2.5
|
5
|
+
- 2.4
|
7
6
|
- ruby-head
|
8
|
-
- rbx-2
|
9
7
|
- jruby-19mode
|
10
8
|
- jruby-head
|
9
|
+
before_install:
|
10
|
+
- gem install bundler
|
11
11
|
script: bundle exec rspec spec
|
12
12
|
matrix:
|
13
13
|
allow_failures:
|
14
14
|
- rvm: ruby-head
|
15
|
-
- rvm: rbx-2
|
16
15
|
- rvm: jruby-head
|
17
16
|
fast_finish: true
|
data/README.md
CHANGED
@@ -1,18 +1,17 @@
|
|
1
1
|
# OmniAuth WS-Fed #
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/omniauth-wsfed.
|
4
|
-
[![Code Climate](https://codeclimate.com/github/
|
5
|
-
[![Build Status](https://travis-ci.org/
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/omniauth-wsfed.svg)](http://badge.fury.io/rb/omniauth-wsfed)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/mak-it/omniauth-wsfed.svg)](https://codeclimate.com/github/mak-it/omniauth-wsfed)
|
5
|
+
[![Build Status](https://travis-ci.org/mak-it/omniauth-wsfed.svg)](https://travis-ci.org/mak-it/omniauth-wsfed)
|
6
6
|
|
7
7
|
The OmniAuth-WSFed authentication strategy can be used with the following technologies
|
8
8
|
under scenarios requiring the [WS-Federation protocol](http://msdn.microsoft.com/en-us/library/bb498017.aspx)
|
9
9
|
for authentication. These services are typically used for Identity Federation and Single
|
10
10
|
Sign-On across large organizations or authentication domains.
|
11
11
|
|
12
|
-
* [Windows Azure ACS](http://msdn.microsoft.com/en-us/library/windowsazure/gg429786.aspx)
|
13
12
|
* [ADFS 2.0](http://msdn.microsoft.com/en-us/magazine/ee335705.aspx)
|
14
13
|
* Corporate Secure Token Servers (STSs)
|
15
|
-
|
14
|
+
* Windows Azure ACS (retired on November 7, 2018)
|
16
15
|
|
17
16
|
## Installation ##
|
18
17
|
|
@@ -99,7 +98,7 @@ posted. Defaults to the OmniAuth callback URL. **Optional**
|
|
99
98
|
|
100
99
|
## Authors and Credits ##
|
101
100
|
|
102
|
-
Authored by [Keith Beckman](https://github.com/kbeckman).
|
101
|
+
Authored by [Keith Beckman](https://github.com/kbeckman) and [MAK IT](https://github.com/mak-it).
|
103
102
|
|
104
103
|
Special thanks to the developers of the following projects from which I borrowed from for omniauth-wsfed:
|
105
104
|
|
@@ -85,8 +85,8 @@ module OmniAuth
|
|
85
85
|
saml_version = settings[:saml_version]
|
86
86
|
REXML::XPath.each(sig_element, "//ds:Reference", {"ds"=>DSIG}) do |ref|
|
87
87
|
uri = ref.attributes.get_attribute("URI").value
|
88
|
-
hashed_element = REXML::XPath.first(self, "
|
89
|
-
REXML::XPath.first(self, "
|
88
|
+
hashed_element = REXML::XPath.first(self, "//*[@ID='#{uri[1,uri.size]}']") ||
|
89
|
+
REXML::XPath.first(self, "//*[@AssertionID='#{uri[1,uri.size]}']")
|
90
90
|
canoner = XML::Util::XmlCanonicalizer.new(false, true)
|
91
91
|
canoner.inclusive_namespaces = inclusive_namespaces if canoner.respond_to?(:inclusive_namespaces) && !inclusive_namespaces.empty?
|
92
92
|
canon_hashed_element = canoner.canonicalize(hashed_element)
|
data/omniauth-wsfed.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.summary = %q{A WS-Federation + WS-Trust strategy for OmniAuth.}
|
9
9
|
gem.description = %q{OmniAuth WS-Federation strategy enabling integration with Windows Azure Access Control Service (ACS), Active Directory Federation Services (ADFS) 2.0, custom Identity Providers built with Windows Identity Foundation (WIF) or any other Identity Provider supporting the WS-Federation protocol.}
|
10
10
|
|
11
|
-
gem.authors = ['Keith Beckman']
|
12
|
-
gem.email = ['kbeckman.c4sc@gmail.com']
|
11
|
+
gem.authors = ['Keith Beckman', 'MAK IT']
|
12
|
+
gem.email = ['kbeckman.c4sc@gmail.com', 'admin@makit.lv']
|
13
13
|
gem.homepage = 'https://github.com/kbeckman/omniauth-wsfed'
|
14
14
|
gem.license = 'MIT'
|
15
15
|
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-wsfed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keith Beckman
|
8
|
+
- MAK IT
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2019-07-30 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: omniauth
|
@@ -116,6 +117,7 @@ description: OmniAuth WS-Federation strategy enabling integration with Windows A
|
|
116
117
|
Provider supporting the WS-Federation protocol.
|
117
118
|
email:
|
118
119
|
- kbeckman.c4sc@gmail.com
|
120
|
+
- admin@makit.lv
|
119
121
|
executables: []
|
120
122
|
extensions: []
|
121
123
|
extra_rdoc_files: []
|
@@ -159,12 +161,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
159
161
|
version: '0'
|
160
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
163
|
requirements:
|
162
|
-
- - "
|
164
|
+
- - ">="
|
163
165
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
166
|
+
version: '0'
|
165
167
|
requirements: []
|
166
168
|
rubyforge_project:
|
167
|
-
rubygems_version: 2.4.
|
169
|
+
rubygems_version: 2.4.8
|
168
170
|
signing_key:
|
169
171
|
specification_version: 4
|
170
172
|
summary: A WS-Federation + WS-Trust strategy for OmniAuth.
|