mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 09:47:46 +05:30
Get scopes by access token instead of session ID
This commit is contained in:
parent
10d7d3cb3d
commit
90508a191d
@ -177,7 +177,7 @@ class ResourceServer
|
||||
$this->ownerType = $result['owner_type'];
|
||||
$this->ownerId = $result['owner_id'];
|
||||
|
||||
$this->sessionScopes = $this->storages['session']->getScopes($this->sessionId);
|
||||
$this->sessionScopes = $this->storages['session']->getScopes($this->accessToken);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user