mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-22 15:43:21 +05:30
Corrected endpoint
This commit is contained in:
1 parent
5b66d60d82
commit
ff0d7ee5ff
2 files changed
+2
-2
No files matched your search
@@ -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