mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-14 09:16:05 +05:30
Merge pull request #462 from juliangut/jwt_to_string
V5 - Convert JWT to string for http_build_query
This commit is contained in:
commit
5e8d2fe0f5
@ -197,7 +197,7 @@ class ImplicitGrant extends AbstractAuthorizeGrant
|
||||
$scopes
|
||||
);
|
||||
|
||||
$redirectPayload['access_token'] = $accessToken->convertToJWT($this->pathToPrivateKey);
|
||||
$redirectPayload['access_token'] = (string) $accessToken->convertToJWT($this->pathToPrivateKey);
|
||||
$redirectPayload['token_type'] = 'bearer';
|
||||
$redirectPayload['expires_in'] = time() - $accessToken->getExpiryDateTime()->getTimestamp();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user