mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 21:19:46 +05:30
commit
4a31e5b024
@ -34,7 +34,7 @@ $router->post('/access_token', function (Request $request) use ($server) {
|
||||
$response = $server->issueAccessToken();
|
||||
return new Response(
|
||||
json_encode($response),
|
||||
200
|
||||
200,
|
||||
[
|
||||
'Content-type' => 'application/json',
|
||||
'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