Skip to content

Commit

Permalink
Update extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/…
Browse files Browse the repository at this point in the history
…OidcJsonWebTokenProducer.java

Co-authored-by: George Gastaldi <gegastaldi@gmail.com>
  • Loading branch information
sberyozkin and gastaldi authored Sep 18, 2023
1 parent b0757a5 commit 0e9a47c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private JsonWebToken getTokenCredential(Class<? extends TokenCredential> type) {
}
String tokenType = type == AccessTokenCredential.class ? "access" : "ID";
LOG.warnf(
"Identity is not associated with an %s token. Access 'JsonWebToken' with '@IdToken' qualifier if ID token is required and 'JsonWebToken' without this qualifier when JWT access token is required. Inject either 'quarkus.security.identity.SecurityIdentity' or 'quarkus.oidc.UserInfo' if you need to have the same endpoint code working for both authorization code and bearer token authentication flows.",
"Identity is not associated with an %s token. Access 'JsonWebToken' with '@IdToken' qualifier if ID token is required and 'JsonWebToken' without this qualifier when JWT access token is required. Inject either 'io.quarkus.security.identity.SecurityIdentity' or 'io.quarkus.oidc.UserInfo' if you need to have the same endpoint code working for both authorization code and bearer token authentication flows.",
tokenType);
return new NullJsonWebToken();
}
Expand Down

0 comments on commit 0e9a47c

Please sign in to comment.