当我在 Keycloak 独立(用户/角色定义)中部署我的 web 应用程序时,我可以毫无问题地登录,但是当我使用 Keycloak 适配器在 Wildfly 上部署它时,我无法登录,并出现错误:
[org.keycloak.adapters.OAuthRequestAuthenticator] failed verification of token:
Token type is incorrect. Expected 'Bearer' but was 'null'
'Bearer' 令牌在哪里定义?