omniauth 2.1.2 → 2.1.3
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/.github/workflows/main.yml +4 -1
- data/README.md +1 -1
- data/lib/omniauth/strategy.rb +4 -2
- data/lib/omniauth/version.rb +1 -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: 72f75a04a8d177ece789f87bafb01954e87e25006087e1c4b469d9a7245d3f65
|
4
|
+
data.tar.gz: 04f1b32853317188896eecf634ce2d2592e0de9441f5ccc2bb24a55a84c0af01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e99d765970df98de46c2872a3bf65ccd8012fba74910fa9b608909725a64e167dbd34b53b4b5d673f07955e107893965a3fd7012ef4b2219bdb3ed5dfd5a9ae
|
7
|
+
data.tar.gz: 59455629cd76bfa5220a625b6ba4d470be36df8d11a973967f06219015516ca77fdf4c9afa79ba3033a159f5d95d971379f1882afc0973873fabcf779672ac17
|
data/.github/workflows/main.yml
CHANGED
@@ -20,7 +20,10 @@ jobs:
|
|
20
20
|
fail-fast: false
|
21
21
|
matrix:
|
22
22
|
os: [ubuntu, macos]
|
23
|
-
ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, head, debug]
|
23
|
+
ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, head, debug]
|
24
|
+
exclude:
|
25
|
+
- os: macos
|
26
|
+
ruby: 2.5
|
24
27
|
steps:
|
25
28
|
- uses: actions/checkout@v3
|
26
29
|
- name: Set up Ruby
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
[coveralls]: https://coveralls.io/r/omniauth/omniauth
|
16
16
|
|
17
17
|
This is the documentation for the in-development branch of OmniAuth.
|
18
|
-
You can find the documentation for the latest stable release [here](https://github.com/omniauth/omniauth/tree/v2.1.
|
18
|
+
You can find the documentation for the latest stable release [here](https://github.com/omniauth/omniauth/tree/v2.1.3)
|
19
19
|
|
20
20
|
## An Introduction
|
21
21
|
OmniAuth is a library that standardizes multi-provider authentication for
|
data/lib/omniauth/strategy.rb
CHANGED
@@ -335,7 +335,9 @@ module OmniAuth
|
|
335
335
|
|
336
336
|
def mock_callback_call
|
337
337
|
setup_phase
|
338
|
-
|
338
|
+
|
339
|
+
origin = session.delete('omniauth.origin')
|
340
|
+
@env['omniauth.origin'] ||= origin
|
339
341
|
@env['omniauth.origin'] = nil if env['omniauth.origin'] == ''
|
340
342
|
@env['omniauth.params'] = session.delete('omniauth.params') || {}
|
341
343
|
|
@@ -481,7 +483,7 @@ module OmniAuth
|
|
481
483
|
OmniAuth.config.full_host.call(env)
|
482
484
|
else
|
483
485
|
# in Rack 1.3.x, request.url explodes if scheme is nil
|
484
|
-
if request.scheme && request.url.
|
486
|
+
if request.scheme && URI.parse(request.url).absolute?
|
485
487
|
uri = URI.parse(request.url.gsub(/\?.*$/, ''))
|
486
488
|
uri.path = ''
|
487
489
|
# sometimes the url is actually showing http inside rails because the
|
data/lib/omniauth/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bleigh
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2025-02-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hashie
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: 1.3.5
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
144
|
+
rubygems_version: 3.5.11
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: A generalized Rack framework for multiple-provider authentication.
|