diff --git a/auth-server-auth-code.md b/auth-server-auth-code.md index 26e27b48..759f409a 100755 --- a/auth-server-auth-code.md +++ b/auth-server-auth-code.md @@ -140,7 +140,7 @@ $router->post('/signin', function (Request $request) use ($server) { $error = new \League\OAuth2\Server\Util\AccessDeniedException; - $redirectUri = new \League\OAuth2\Server\Util\RedirectUri( + $redirectUri = \League\OAuth2\Server\Util\RedirectUri::make( $authParams['redirect_uri'], [ 'error' => $error->errorType,