From 5894c551934c9af9734d05e764c95ee9897b2613 Mon Sep 17 00:00:00 2001 From: Sven Koschnicke <123731255+svenk-ct@users.noreply.github.com> Date: Mon, 10 Jul 2023 08:56:07 +0200 Subject: [PATCH] Correct mistake in documentation Make the route in the text the same as in the configuration example. --- docs/basic-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basic-setup.md b/docs/basic-setup.md index ac65a627..54211d13 100644 --- a/docs/basic-setup.md +++ b/docs/basic-setup.md @@ -104,7 +104,7 @@ security: oauth2: true ``` -* The `api_token` firewall will ensure that anyone can access the `/api/token` endpoint in order to be able to retrieve their access tokens. +* The `api_token` firewall will ensure that anyone can access the `/token` endpoint in order to be able to retrieve their access tokens. * The `api` firewall will protect all routes prefixed with `/api` and clients will require a valid access token in order to access them. Basically, any firewall which sets the `oauth2` parameter to `true` will make any routes that match the selected pattern go through our OAuth 2.0 security layer.