mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-12-02 20:23:15 +05:30
Add means to set default scopes for grants
This commit is contained in:
1 parent
c70451abd5
commit
c996b66528
7 files changed
+42
-19
No files matched your search
@@ -243,7 +243,7 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
|
||||
}
|
||||
|
||||
$scopes = $this->validateScopes(
|
||||
$this->getQueryStringParameter('scope', $request),
|
||||
$this->getQueryStringParameter('scope', $request, $this->defaultScope),
|
||||
is_array($client->getRedirectUri())
|
||||
? $client->getRedirectUri()[0]
|
||||
: $client->getRedirectUri()
|
||||
|
||||
Reference in new issue
Block a user