mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 09:47:46 +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