mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
commit
4a31e5b024
@ -34,7 +34,7 @@ $router->post('/access_token', function (Request $request) use ($server) {
|
|||||||
$response = $server->issueAccessToken();
|
$response = $server->issueAccessToken();
|
||||||
return new Response(
|
return new Response(
|
||||||
json_encode($response),
|
json_encode($response),
|
||||||
200
|
200,
|
||||||
[
|
[
|
||||||
'Content-type' => 'application/json',
|
'Content-type' => 'application/json',
|
||||||
'Cache-Control' => 'no-store',
|
'Cache-Control' => 'no-store',
|
||||||
@ -56,4 +56,4 @@ $router->post('/access_token', function (Request $request) use ($server) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
~~~
|
~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user