Random Missing authorities mapping properties for issuer, causes 500 error
While configuration is correct in properties, e.g.: "spring-addons.issuers[0].uri": "http://xxx.example.org/auth/realms/openslice", "spring-addons.issuers[0].username-json-path":"$.preferred_username", "spring-addons.issuers[0].claims[0].jsonPath":"$.realm_access.roles", "spring-addons.issuers[0].claims[1].jsonPath":"$.resource_access.*.roles",
we observed random authentication behavior while user interacts with API authentication. The message "Missing authorities mapping properties for http://xxx.example.org/auth/realms/openslice" , causes 500 error and failed interactions.
The message is raised from WebSecurityConfigKeycloak.java class lines 155