omniauth-paypal-oauth2 1.4.10 → 1.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +1 -3
- data/lib/omniauth/paypal_oauth2/version.rb +1 -1
- data/lib/omniauth/strategies/paypal_oauth2.rb +8 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd2f166f6e0686965fa8b2ebae679c4b8b5d8b8f
|
4
|
+
data.tar.gz: df9cc586c668c542d040fe8b78cb576f5c47e59f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1231f151ae6a74fb9ea595c5b0ba26c9c7a0116b89cb8b676470c0537fddbbfa54ad746b8aab10dca62b04bdf7b102c49d195c977b24dac73f1dac94b511e9f
|
7
|
+
data.tar.gz: 9f006baaa3344629cfd61afa6e40298f622d4d327151b4d42f594a1c1f0e0381cf89dd7e12f0f2e29058c4519ceb6c8f11d83bc6077437a83d9605a59f59d93f
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -57,7 +57,7 @@ You can now access the OmniAuth PayPal OAuth2 URL: `/auth/paypal_oauth2`
|
|
57
57
|
|
58
58
|
If you click from your [Applications Dashboard](https://developer.paypal.com/developer/applications/) in your Application on "Advanced Options" in the "APP SETTINGS" section and "Log In with PayPal" subsection, you can configure several options:
|
59
59
|
|
60
|
-
* `Basic authentication`: The unique identifier PPID (PayPal ID) is provided. No additional customer information. **Not
|
60
|
+
* `Basic authentication`: The unique identifier PPID (PayPal ID) is provided. No additional customer information. **Not customizable**.
|
61
61
|
|
62
62
|
* `Personal Information`:
|
63
63
|
* `Full name`: Permits the Name of the customer.
|
@@ -225,5 +225,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
225
225
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
226
226
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
227
227
|
SOFTWARE.
|
228
|
-
|
229
|
-
<i>Original PayPal Omniauth Strategy: Copyright (c) 2011 by veloGraf Systems</i>
|
@@ -51,6 +51,10 @@ module OmniAuth
|
|
51
51
|
})
|
52
52
|
end
|
53
53
|
|
54
|
+
def callback_url
|
55
|
+
full_host + script_name + callback_path
|
56
|
+
end
|
57
|
+
|
54
58
|
def setup_phase
|
55
59
|
if options.sandbox
|
56
60
|
options.client_options[:site] = SANDBOX_SITE
|
@@ -70,6 +74,10 @@ module OmniAuth
|
|
70
74
|
end
|
71
75
|
end
|
72
76
|
|
77
|
+
def callback_url
|
78
|
+
full_host + script_name + callback_path
|
79
|
+
end
|
80
|
+
|
73
81
|
private
|
74
82
|
|
75
83
|
def load_identity
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-paypal-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Hübotter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.6.
|
116
|
+
rubygems_version: 2.6.11
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: A PayPal OAuth2 strategy for OmniAuth 1.x
|