Skip to content

Commit b9ecb45

Browse files
authored
Update _source/_posts/2024-01-24-spring-boot-authorization.md
1 parent 8264e9d commit b9ecb45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_source/_posts/2024-01-24-spring-boot-authorization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Select any available client when prompted. You also will be prompted to open a b
110110
With curl, send a request to the API server using a bearer access token:
111111

112112
```shell
113-
ACCESS_TOKEN=<auth0-access-token> &&\
113+
ACCESS_TOKEN=<auth0-access-token>
114114
curl -i --header "Authorization: Bearer $ACCESS_TOKEN" localhost:8080/api/menu/items
115115
```
116116
The request will not be authorized yet, you will see the error message _This aud claim is not equal to the configured audience_. The error means that the audience contained in the `aud` claim of the access token does not match the expected audience, configured in the server properties. When requesting a token with the`auth0 test token` command, the default audience value is `https://<your-auth0-domain>/api/v2`, which is the Auth0 Provider management API audience.

0 commit comments

Comments
 (0)