mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-28 16:00:24 +05:30
Don't add scope IDs
This commit is contained in:
parent
ca599437f6
commit
d531a37412
@ -200,7 +200,7 @@ class AuthCode implements GrantTypeInterface {
|
|||||||
$this->authServer->getStorage('session')->associateRedirectUri($sessionId, $authParams['redirect_uri']);
|
$this->authServer->getStorage('session')->associateRedirectUri($sessionId, $authParams['redirect_uri']);
|
||||||
|
|
||||||
// Associate the auth code
|
// Associate the auth code
|
||||||
$authCodeId = $this->authServer->getStorage('session')->associateAuthCode($sessionId, $authCode, time() + $this->authTokenTTL, implode(',', $scopeIds));
|
$authCodeId = $this->authServer->getStorage('session')->associateAuthCode($sessionId, $authCode, time() + $this->authTokenTTL);
|
||||||
|
|
||||||
// Associate the scopes to the auth code
|
// Associate the scopes to the auth code
|
||||||
foreach ($authParams['scopes'] as $scope) {
|
foreach ($authParams['scopes'] as $scope) {
|
||||||
|
Loading…
Reference in New Issue
Block a user