Skip to content

Commit

Permalink
Add additional notes to the doc. Fix quarkusio#32143.
Browse files Browse the repository at this point in the history
  • Loading branch information
SetoKaiba committed Sep 2, 2024
1 parent b702e31 commit 2dbe8f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/main/asciidoc/security-keycloak-authorization.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,12 @@ export access_token=$(\
)
----
[NOTE]
====
If the setting below is set, you should add the openid to the scope in the query parameters.
`quarkus.oidc.authentication.user-info-required=true`
====
The preceding example obtains an access token for user `alice`.
Any user is allowed to access the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,12 @@ export access_token=$(\
----
====

[NOTE]
====
If the setting below is set, you should add the openid to the scope in the query parameters.
`quarkus.oidc.authentication.user-info-required=true`
====

The preceding example obtains an access token for the user `alice`.

* Any user can access the `http://localhost:8080/api/users/me` endpoint, which returns a JSON payload with details about the user.
Expand Down

0 comments on commit 2dbe8f6

Please sign in to comment.