79144648

Date: 2024-10-31 12:10:53
Score: 1.5
Natty:
Report link

If you cannot or don't want to configure Keycloak you can also implement a customOidcUserService which allows you to fetch authority information from a protected resource before the custom authorities for the user get mapped. See https://docs.spring.io/spring-security/reference/servlet/oauth2/login/advanced.html#oauth2login-advanced-map-authorities-oauth2userservice

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Michael Goppelt