diff --git a/auth-server-auth-code.md b/auth-server-auth-code.md index f1310c28..b6faa5a2 100755 --- a/auth-server-auth-code.md +++ b/auth-server-auth-code.md @@ -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) { diff --git a/auth-server-implicit.md b/auth-server-implicit.md index a683d8c6..32931e00 100755 --- a/auth-server-implicit.md +++ b/auth-server-implicit.md @@ -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) {