Skip to content

Commit b070a2e

Browse files
mostafa-rzMostafa Rouzbahaniashleyhindle
authored
Cast client_id to string in JSON response (#93)
Co-authored-by: Mostafa Rouzbahani <[email protected]> Co-authored-by: Ashley Hindle <[email protected]>
1 parent 16c166c commit b070a2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/Registrar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function oauthRoutes(string $oauthPrefix = 'oauth'): void
118118
);
119119

120120
return response()->json([
121-
'client_id' => $client->id,
121+
'client_id' => (string) $client->id,
122122
'grant_types' => $client->grantTypes,
123123
'response_types' => ['code'],
124124
'redirect_uris' => $client->redirectUris,

0 commit comments

Comments
 (0)