Commits
Craig Cabrey committed 5880e68fba8
Add setting custom request parameters to redirect
Many popular OAuth2 providers accept custom request parameters in order
to change the behavior of the authentication flow. This change adds the
ability to add on arbitrary custom parameters to the initial OAuth
request. The use is similar to that of the `scopes' functionality:
$provider
->scopes(['email'])
->parameters(['key' => 'value'])
->redirect();