Hi,
I'm laying the groundwork for a new application and I'm trying to set up authentication a Keycloak server, Angular 12 frontend and Wildfly 25 EE9 preview as backend.
Keycloak and fronted part went smoothly, but I'm having a hard time figuring out the Wildfly side. I can see the XMLHttpRequests carry Authorization: Bearer header but the backend responds with an redirect to login page.
my oidc.json looks as follows:
{
"realm": "mvp",
"client-id": "backend",
"bearer-only": true
}
I'm setting both auth-server-url and provider-url because otherwise I'm getting an exception here:
Is there something I'm missing about OIDC client configuration? Or is the bearer-only mode not supported?
Best regards,
Rafał