mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Corrected endpoint
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user