Skip to content

Commit

Permalink
Update docs/src/main/asciidoc/security-oidc-auth0-tutorial.adoc
Browse files Browse the repository at this point in the history
Co-authored-by: Michelle Purcell <[email protected]>
  • Loading branch information
sberyozkin and michelle-purcell authored Sep 26, 2023
1 parent efea0fc commit 2a70491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/security-oidc-auth0-tutorial.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public class GreetingResource {
----
<1> The injected `JsonWebToken` (JWT) token has an `@IdToken` qualifier.
`IdToken` represents the user authentication part of the OIDC authorization code flow mechanism.
<2> `io.quarkus.security.Authenticated` annotation is added to the `hello()` method requiring that only authenticated users can access it.
<2> The `io.quarkus.security.Authenticated` annotation is added to the `hello()` method, which means that only authenticated users can access it.

Note that the access token acquited during the authorization code flow, alongside the ID token, is not used directly by the endpoint but is only used to access downstream services on behalf of the currently authenticated user. We will talk about using the access tokens later in this tutorial.

Expand Down

0 comments on commit 2a70491

Please sign in to comment.