protected Map<String, Object> fetchOidcConfiguration(final OidcConfiguration configuration) {
        val payload = CollectionUtils.<String, Object>wrap(
            "clientId", configuration.getClientId(),
            "discoveryURI", configuration.getDiscoveryURI(),
            "responseType", configuration.getResponseType(),
            "responseMode", configuration.getResponseMode(),
            "scope", configuration.getScope());
        payload.putAll(configuration.getCustomParams());
        payload.put("mappedClaims", configuration.getMappedClaims());
        payload.put("type", "oidc");
        return payload;
    }
This is {@link DelegatedClientsOidcEndpointContributor}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-pac4j-oidc/src/main/java/org/apereo/cas/pac4j/web/DelegatedClientsOidcEndpointContributor.java