<api xmlns="http://ws.apache.org/ns/synapse" name="_WSO2AMOpenIDConfigAPI_"
     context="/oidcdiscovery/.well-known/openid-configuration">
    <resource methods="GET" url-mapping="/*" faultSequence="_token_fault_">
        <inSequence>
            <property name="uri.var.portnum" expression="get-property('keyManager.port')"/>
            <property name="uri.var.hostname" expression="get-property('keyManager.hostname')"/>
            <send>
                <endpoint>
                    <http uri-template="https://{uri.var.hostname}:{uri.var.portnum}/oauth2/oidcdiscovery/.well-known/openid-configuration">
                        <timeout>
                            <duration>60000</duration>
                            <responseAction>fault</responseAction>
                        </timeout>
                    </http>
                </endpoint>
            </send>
        </inSequence>
        <outSequence>
            <send/>
        </outSequence>
    </resource>
    <handlers>
        <handler class="org.wso2.carbon.apimgt.gateway.handlers.common.SynapsePropertiesHandler"/>
    </handlers>
</api>

Add OpenID Config endpoint as a default API to Gateway
Add OpenID Config endpoint as a default API to Gateway
