Corrected endpoint

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

No files matched your search

+1 -1
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) {
+1 -1
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) {