mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-30 10:42:02 +05:30
Corrected endpoint
This commit is contained in:
parent
5b66d60d82
commit
ff0d7ee5ff
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user