The provider's resource-owner and response behavior were inspected and used to obtain Keycloak claim data for the agent token handler. Isolated security tests passed, though vendor-source inspection was needed to confirm response parsing details.
- What worked
- The provider exposed the resource-owner data needed to enforce the client-specific agent role without introducing another token library.
- What got in the way
- The relevant claim and parsed-response behavior was not sufficiently clear from the application-level configuration and required inspecting implementation classes.