public static String getClientConfigurationUri(final OidcRegisteredService registeredService,
                                                   final String serverPrefix) throws URISyntaxException {
        return new URIBuilder(serverPrefix
            .concat('/' + OidcConstants.BASE_OIDC_URL + '/' + OidcConstants.CLIENT_CONFIGURATION_URL))
            .addParameter(OAuth20Constants.CLIENT_ID, registeredService.getClientId())
            .build()
            .toString();
    }
Gets client configuration uri.

@param registeredService the registered service
@param serverPrefix      the server prefix
@return the client configuration uri
@throws URISyntaxException the uri syntax exception
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/web/controllers/dynareg/OidcClientRegistrationUtils.java