Skip to content

Instantly share code, notes, and snippets.

@DorkNstein
Created August 1, 2016 23:37
Show Gist options
  • Save DorkNstein/99dc276ebc53a168b5b3cef5f4d0e520 to your computer and use it in GitHub Desktop.
Save DorkNstein/99dc276ebc53a168b5b3cef5f4d0e520 to your computer and use it in GitHub Desktop.
paypal: {
name: 'paypal',
url: '/auth/paypal',
authorizationEndpoint: 'https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize',
redirectUri: window.location.origin + '/',
requiredUrlParams: ['scope'],
scope: ['profile', 'email', 'address', 'phone', 'https://uri.paypal.com/services/paypalattributes'],
scopePrefix: 'openid',
scopeDelimiter: ' ',
oauthType: '2.0',
popupOptions: { width: 500, height: 529 }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment