Skip to content

Commit 4c1440b

Browse files
committed
Some response fields are not integers
1 parent 1e94998 commit 4c1440b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Http/Controllers/IntrospectionController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ public function introspectToken(ServerRequestInterface $request)
104104
'exp' => intval($token->getClaim('exp')),
105105
'iat' => intval($token->getClaim('iat')),
106106
'nbf' => intval($token->getClaim('nbf')),
107-
'sub' => intval($token->getClaim('sub')),
108-
'aud' => intval($token->getClaim('aud')),
107+
'sub' => $token->getClaim('sub'),
108+
'aud' => $token->getClaim('aud'),
109109
'jti' => $token->getClaim('jti'),
110110
]);
111111
} catch (OAuthServerException $oAuthServerException) {

0 commit comments

Comments
 (0)