Corrected endpoint

This commit is contained in:
Alex Bilbie 2016-03-24 14:56:05 +00:00
parent 5b66d60d82
commit ff0d7ee5ff
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ $server->enableGrantType(
## Implementation
The client will request an access token so create an `/access_token` endpoint.
The client will request an access token so create an `/oauth2` endpoint.
{% highlight php %}
$app->post('/oauth2', function (ServerRequestInterface $request, ResponseInterface $response) use ($app) {

View File

@ -67,7 +67,7 @@ $server->enableGrantType(
## Implementation
The client will request an access token so create an `/access_token` endpoint.
The client will request an access token so create an `/oauth2` endpoint.
{% highlight php %}
$app->post('/oauth2', function (ServerRequestInterface $request, ResponseInterface $response) use ($app) {