Skip to content

Commit 6dcb56f

Browse files
committed
fix(auth): pass scopes/options to auth URL builder (#1750)
1 parent 0f63187 commit 6dcb56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/auth/src/OAuth/GenericOAuthClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function buildAuthorizationUrl(array $scopes = [], array $options = []):
6262

6363
public function createRedirect(array $scopes = [], array $options = []): Redirect
6464
{
65-
$to = $this->buildAuthorizationUrl();
65+
$to = $this->buildAuthorizationUrl($scopes, $options);
6666

6767
$this->session->set($this->sessionKey, $this->provider->getState());
6868

0 commit comments

Comments
 (0)