Merge pull request #220 from jasonvarga/master
Allow approval_prompt to be set through optionsoauth1test 0.8.1
commit
bb2d4e4be7
|
@ -128,7 +128,7 @@ abstract class AbstractProvider implements ProviderInterface
|
||||||
'state' => $this->state,
|
'state' => $this->state,
|
||||||
'scope' => is_array($this->scopes) ? implode($this->scopeSeparator, $this->scopes) : $this->scopes,
|
'scope' => is_array($this->scopes) ? implode($this->scopeSeparator, $this->scopes) : $this->scopes,
|
||||||
'response_type' => isset($options['response_type']) ? $options['response_type'] : 'code',
|
'response_type' => isset($options['response_type']) ? $options['response_type'] : 'code',
|
||||||
'approval_prompt' => 'auto',
|
'approval_prompt' => isset($options['approval_prompt']) ? $options['approval_prompt'] : 'auto',
|
||||||
];
|
];
|
||||||
|
|
||||||
return $this->urlAuthorize().'?'.$this->httpBuildQuery($params, '', '&');
|
return $this->urlAuthorize().'?'.$this->httpBuildQuery($params, '', '&');
|
||||||
|
|
Loading…
Reference in New Issue