mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-03-07 00:39:18 +05:30
Fixed getting of session scopes
This commit is contained in:
parent
9be23cf222
commit
d0abd8c295
@ -177,7 +177,10 @@ class ResourceServer
|
|||||||
$this->ownerType = $result['owner_type'];
|
$this->ownerType = $result['owner_type'];
|
||||||
$this->ownerId = $result['owner_id'];
|
$this->ownerId = $result['owner_id'];
|
||||||
|
|
||||||
$this->sessionScopes = $this->storages['session']->getScopes($this->accessToken);
|
$sessionScopes = $this->storages['session']->getScopes($this->accessToken);
|
||||||
|
foreach ($sessionScopes as $scope) {
|
||||||
|
$this->sessionScopes[] = $scope['key'];
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user