Skip to content

Commit

Permalink
Fix typo in (#10346)
Browse files Browse the repository at this point in the history
Closes #10252
  • Loading branch information
ewanharris authored Dec 12, 2023
1 parent 734e3a4 commit 54ed7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/quickstart/backend/golang/interactive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 54ed7b8

Please sign in to comment.