Skip to content

Commit

Permalink
Don’t encode twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Lundbøl committed Feb 26, 2019
1 parent adcaab6 commit c8986a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function getLoginUrl(string $redirectUrl, ?string $state = null, bool $re
}

if (true === $reauthorize) {
$params['prompt'] = urlencode('login consent');
$params['prompt'] = 'login consent';
}

return rtrim($this->clientConfig->getLoginUrl(), '/') . '/services/oauth2/authorize?' .
Expand Down

0 comments on commit c8986a8

Please sign in to comment.