Skip to content

Commit

Permalink
Add URL for well-known files with NotImplementedHandler.
Browse files Browse the repository at this point in the history
  • Loading branch information
Potherca committed Aug 25, 2020
1 parent 3dd7ad1 commit 0154bd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ final public function route() : callable

return static function (RouteGroup $router) use ($response) {
$router->map('GET', '/', new HomepageHandler($response));
$router->map('GET', '/.well-known/oauth-authorization-server', new NotImplementedHandler($response));
$router->map('GET', '/.well-known/openid-configuration', new NotImplementedHandler($response));
};
}

Expand Down

0 comments on commit 0154bd3

Please sign in to comment.