oauth2-stripe icon indicating copy to clipboard operation
oauth2-stripe copied to clipboard

Add documentation for scopes?

Open paperscissors opened this issue 8 years ago • 1 comments

Took a bit to figure out how to change these settings when running the OAuth request; actually even PHP League's base package doesn't mention this. I'll reach out them as well, but I had to look at other libraries to find the method: https://github.com/thephpleague/oauth2-linkedin#managing-scopes

$options = [
    'scope' => ['abc','xyz'] // array or string
];

$authorizationUrl = $provider->getAuthorizationUrl($options);

Can be pretty important depending on what scopes you need to use with the OAuth + Stripe.

paperscissors avatar Nov 05 '16 04:11 paperscissors

@paperscissors Good point, I'll add the scope docs at some point today. Unless you have time to submit a PR.

adam-paterson avatar Nov 08 '16 09:11 adam-paterson