mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-12-01 19:53:21 +05:30
Get scopes by access token instead of session ID
This commit is contained in:
1 parent
10d7d3cb3d
commit
90508a191d
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user