adam-paterson / adam-paterson/oauth2-stripe

Add documentation for scopes?

Aperta
#5 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
17
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.