From b25ceccae993bcf2fdb1f4d0eead4ba939f1bbfa Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Wed, 5 Jul 2023 10:15:12 +0200 Subject: [PATCH] Minor typos --- docs/dev-authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev-authentication.md b/docs/dev-authentication.md index b0f7363..4237a6a 100644 --- a/docs/dev-authentication.md +++ b/docs/dev-authentication.md @@ -31,8 +31,8 @@ secured.Use(func(next http.Handler) http.Handler { ``` For non API routes a JWT token can be used to initiate an authenticated user -session. This can either happen by calling the login/ route with a token -provided in a header or the query URL or via the `Auth()` method on first access +session. This can either happen by calling the login route with a token +provided in a header or query URL or via the `Auth()` method on first access to a secured URL via a special cookie containing the JWT token. For API routes the access is authenticated on every request using the JWT token and no session is initiated.