@Test
    void verifyPlainJwtWithClientId() {
        val request = getJwtRequest();

        val registeredService = getOidcRegisteredService(UUID.randomUUID().toString());
        servicesManager.save(registeredService);
        request.addParameter(OAuth20Constants.CLIENT_ID, registeredService.getClientId());

        val response = new MockHttpServletResponse();
        val context = new JEEContext(request, response);
        val scope = oauthRequestParameterResolver.resolveRequestParameter(context, OAuth20Constants.CLIENT_ID, List.class);
        assertFalse(scope.isEmpty());
        assertTrue(scope.get().contains("client1"));
        assertTrue(scope.get().contains("client2"));
    }
This is {@link DefaultOAuth20RequestParameterResolverTests}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-oidc/src/test/java/org/apereo/cas/oidc/web/DefaultOAuth20RequestParameterResolverTests.java