I have simple architecture like:
backend microservice needs long duration token, like 2 days, and its service account so is authing with keycloak by grant_type: client_credentials
frontend of course serves users, so they use grant_type: password
and spring boot app has special API prefix for internal microservices calls so /internal/ should be authed by this internal-client and other apis by fronted-client
in spring boot application.properties under .resource we can define just 1 keycloak.resource ( client ).
how can I deal with such scenario ?


