From 54ed7b8294956e1a218489a1c29422fb15a3b137 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Tue, 12 Dec 2023 11:07:30 +0000 Subject: [PATCH] Fix typo in (#10346) Closes #10252 --- articles/quickstart/backend/golang/interactive.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/quickstart/backend/golang/interactive.md b/articles/quickstart/backend/golang/interactive.md index 5acb9131e8..49a70c9673 100644 --- a/articles/quickstart/backend/golang/interactive.md +++ b/articles/quickstart/backend/golang/interactive.md @@ -70,7 +70,7 @@ AUTH0_AUDIENCE='${apiIdentifier}' ## Create a middleware to validate access tokens {{{ data-action=code data-code="middleware/jwt.go" }}} -The `EnsureValidToken` middleware function validates the access token. You can be apply this function to any endpoints you wish to protect. +The `EnsureValidToken` middleware function validates the access token. You can apply this function to any endpoints you wish to protect. If the token is valid, the endpoint releases the resources. If the token is not valid, the API returns a `401 Authorization` error. Setup the **go-jwt-middleware** middleware to verify access tokens from incoming requests.