Skip to content

Issues with GitHub OIDC flow and ID token introspection (3.15.1) #43545

Answered by sberyozkin
dergreg asked this question in Q&A
Discussion options

You must be logged in to vote

@dergreg Hi, I'm pretty sure I've reproduced the problem.

Do you have

@Inject
JsonWebToken jwt;

in the code ? The problem here is that it injects an access token, since no @IdToken qualifier is present, while Github access tokens are opaque/binary. The problem you are seeing occurring even before the injection itself would fail, when Quarkus sees access token injections in the JWT format, it enforces the access token verification, in addition to the mandatory ID token verification.

You just need to remove this injection and all should be good. Do you need to use Github access token to access Github API ? You only need to add @AccessToken to the REST client and Quarkus will propagate it f…

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
11 replies
@dergreg
Comment options

@sberyozkin
Comment options

@sberyozkin
Comment options

@sberyozkin
Comment options

@sberyozkin
Comment options

Comment options

You must be logged in to vote
4 replies
@sberyozkin
Comment options

@dergreg
Comment options

@sberyozkin
Comment options

@dergreg
Comment options

Answer selected by dergreg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants