Dynamic Client Registration
IBM® Verify Identity Access provides an endpoint for client registration
Previously the status code for a successful registration is 200, but the specification mandates a 201. Currently, the dynamic client registration returns a 201 status code for a successful registration to ensure compliance with specifications.
An HTTP transformation rule can be used to return a 200 instead to retain the old behavior. See
the following example for reference:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:strip-space elements="*" />
<xsl:template match="/">
<HTTPResponseChange>
<xsl:apply-templates />
</HTTPResponseChange>
</xsl:template>
<xsl:template match="//HTTPResponse/ResponseLine/Version" />
<xsl:template match="//HTTPResponse/ResponseLine/StatusCode">
<xsl:choose>
<xsl:when test="200">
<StatusCode>201</StatusCode>
</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template match="//HTTPResponse/Headers" />
<xsl:template match="//HTTPResponse/Cookies" />
</xsl:stylesheet>For more information, refer to the OIDC Conformance-Example 1.8 in the oidc_op_conformance.zip file.