@Override
    public String getJsonWebKeySigningAlgorithm(final OAuthRegisteredService registeredService,
                                                final JsonWebKey jsonWebKey) {
        if (registeredService instanceof final OidcRegisteredService oidcService) {
            return oidcService.getUserInfoSigningAlg();
        }
        return super.getJsonWebKeySigningAlgorithm(registeredService, jsonWebKey);
    }
Default encoding for user-info encrypted responses.
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/profile/OidcUserProfileSigningAndEncryptionService.java