From ff0d7ee5ffff10c23b46d5fc8fd2e86b98c99465 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Thu, 24 Mar 2016 14:56:05 +0000 Subject: [PATCH] Corrected endpoint --- auth-server-auth-code.md | 2 +- auth-server-implicit.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {