【发布时间】:2021-06-09 11:27:40
【问题描述】:
我正在使用 OIDC 和 KeyCloak Quarkus 扩展。
目前,我像这样访问令牌信息:
@Inject org.eclipse.microprofile.jwt.JsonWebToken tokenMicroProfile;
@Inject SecurityIdentity securityIdentity;
我在这些抽象中找不到issuedFor 字段。这似乎有我需要的。
@Inject org.keycloak.representations.JsonWebToken tokenKeyCloak;
但是注入失败。那么,如何使用 quarkus-oidc 获取信息呢?
【问题讨论】:
标签: keycloak quarkus oid quarkus-oidc