adam-paterson / adam-paterson/oauth2-stripe

Add documentation for scopes?

Aberta
#5 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
PHP
Estrelas
17
Forks
4
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.