mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-25 14:40:00 +05:30
Added missing state parameter in redirect response
This commit is contained in:
parent
fcec1f3442
commit
8f418cff08
@ -193,6 +193,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant
|
||||
'access_token' => (string) $accessToken->convertToJWT($this->privateKey),
|
||||
'token_type' => 'bearer',
|
||||
'expires_in' => $accessToken->getExpiryDateTime()->getTimestamp() - (new \DateTime())->getTimestamp(),
|
||||
'state' => $authorizationRequest->getState(),
|
||||
],
|
||||
'#'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user