omniauth-traity 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/strategies/traity.rb +1 -5
- data/lib/omniauth/traity/version.rb +1 -1
- data/test/test.rb +0 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0a3ce14c6260a8b34db1f604a99b85aedc24c8e
|
4
|
+
data.tar.gz: 070c673e1ecb9461d505d51c272eae19cc1d71cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8129ccb03de61679474e02752e54aff54989df43a4a46ba50ab9d119c62ded0666548e28b484a84d105d67baa8bd080ae078dfa94cbb77a7ceb3779cfab3cf1e
|
7
|
+
data.tar.gz: 2079ea0980dbd6fa5e979c01c86c1ec4fe446c0e5e47bf15c78bf47eb61eb5bd88fb845aa15ed07b2f97f4ada2d9f9079b75bf8b3333337185ea47872cd82b0f
|
@@ -17,10 +17,6 @@ module OmniAuth
|
|
17
17
|
token_url: 'oauth/token'
|
18
18
|
}
|
19
19
|
|
20
|
-
option :token_params, {
|
21
|
-
:parse => :query
|
22
|
-
}
|
23
|
-
|
24
20
|
option :authorize_options, [:scope, :display]
|
25
21
|
|
26
22
|
uid { raw_info['id'] }
|
@@ -109,7 +105,7 @@ module OmniAuth
|
|
109
105
|
options.provider_ignores_state = original_provider_ignores_state
|
110
106
|
end
|
111
107
|
else
|
112
|
-
raise NoAuthorizationCodeError, 'must pass either a `code` (via URL or by an `
|
108
|
+
raise NoAuthorizationCodeError, 'must pass either a `code` (via URL or by an `tsr_XXX` signed request cookie)'
|
113
109
|
end
|
114
110
|
end
|
115
111
|
|
data/test/test.rb
CHANGED
@@ -66,12 +66,6 @@ class AuthorizeParamsTest < StrategyTestCase
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
class TokenParamsTest < StrategyTestCase
|
70
|
-
test 'has correct parse strategy' do
|
71
|
-
assert_equal :query, strategy.token_params[:parse]
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
69
|
class UidTest < StrategyTestCase
|
76
70
|
def setup
|
77
71
|
super
|