Skip to content

OIDC Extension throws ClassNotFoundException when using quarkus-resteasy-jackson #4672

@xfh

Description

@xfh

Describe the bug
I am migration a project with the Keycloak extension (Quarkus 0.22.0) to the new OIDC extension (Quarkus 0.25.0). I am using the quarkus-resteasy-jackson extension instead of jsonb. Unfortunately, these extensions are no longer interchangeable: the access token cannot be parsed, because org.eclipse.microprofile.jwt.Claims specifies JsonObject types, e.g. for the address.
See stacktrace_JsonObject_notFound.txt

Expected behavior
The app does not crash. Required dependencies are provided.

Actual behavior
ClassNotFoundException

To Reproduce
Steps to reproduce the behavior:

  1. In the using-openid-connect starter pom, change the dependency quarkus-resteasy-jsonb to quarkus-resteasy-jackson
  2. access UserResource as described in the guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions