omniauth-google-oauth2 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de8632659edb78b80d0733a085df62028d80f9a9
|
4
|
+
data.tar.gz: 4efa0f89f831db683973282ff1e909fa98e5ea1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 299c5484f3e20f6aea8cae2217722476e8acfeda538adb05b51fe84c7924bad13c31fd391cf88f8165dc031ed06c1395b45d4b3c5f906b5ac8a973f4d534097e
|
7
|
+
data.tar.gz: d2f58b86da4cedd7fc66b2b85aad4e8d379589a11496bf66edd8826bed91b0e0b5a603f3f08a607221c2f0935bdad8677242e2680621b0eb6aecad18a51802e2
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,24 @@
|
|
1
1
|
# Changelog
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## 0.5.2 - 2017-07-30
|
5
|
+
|
6
|
+
### Added
|
7
|
+
- Nothing
|
8
|
+
|
9
|
+
### Deprecated
|
10
|
+
- Nothing.
|
11
|
+
|
12
|
+
### Removed
|
13
|
+
- New `authorize_url` and `token_url` endpoints are reverted until JWT 2.0 ships.
|
14
|
+
|
15
|
+
### Fixed
|
16
|
+
- Nothing
|
17
|
+
|
4
18
|
## 0.5.1 - 2017-07-19
|
5
19
|
|
6
20
|
### Added
|
7
|
-
- JWT iss verification can be enabled/disabled with the `verify_iss` flag.
|
21
|
+
- *Breaking* JWT iss verification can be enabled/disabled with the `verify_iss` flag - see the README for more details.
|
8
22
|
- Authorize options now includes `device_id` and `device_name` for private ip ranges.
|
9
23
|
|
10
24
|
### Deprecated
|
@@ -23,8 +23,9 @@ module OmniAuth
|
|
23
23
|
option :verify_iss, true
|
24
24
|
|
25
25
|
option :client_options,
|
26
|
-
|
27
|
-
|
26
|
+
site: 'https://accounts.google.com',
|
27
|
+
authorize_url: '/o/oauth2/auth',
|
28
|
+
token_url: '/o/oauth2/token'
|
28
29
|
|
29
30
|
def authorize_params
|
30
31
|
super.tap do |params|
|
@@ -28,16 +28,16 @@ describe OmniAuth::Strategies::GoogleOauth2 do
|
|
28
28
|
end
|
29
29
|
|
30
30
|
describe '#client_options' do
|
31
|
-
it '
|
32
|
-
expect(subject.client.site).to eq(
|
31
|
+
it 'has correct site' do
|
32
|
+
expect(subject.client.site).to eq('https://accounts.google.com')
|
33
33
|
end
|
34
34
|
|
35
35
|
it 'has correct authorize_url' do
|
36
|
-
expect(subject.client.options[:authorize_url]).to eq('
|
36
|
+
expect(subject.client.options[:authorize_url]).to eq('/o/oauth2/auth')
|
37
37
|
end
|
38
38
|
|
39
39
|
it 'has correct token_url' do
|
40
|
-
expect(subject.client.options[:token_url]).to eq('
|
40
|
+
expect(subject.client.options[:token_url]).to eq('/o/oauth2/token')
|
41
41
|
end
|
42
42
|
|
43
43
|
describe 'overrides' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-google-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Ellithorpe
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-07-
|
12
|
+
date: 2017-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|