Template ResourceAccessControl section to add custom resource.
<Resource context="/smsotpauthenticationendpoint(.*)" secured="false" http-method="all"/>
<Resource context="/totpauthenticationendpoint(.*)" secured="false" http-method="all"/>
<Resource context="/x509certificateauthenticationendpoint(.*)" secured="false" http-method="all"/>
+
+ {% for resource in resource.access_control %}
+ <Resource context="{{resource.context}}" secured="{{resource.secure}}" http-method="{{resource.http_method}}">
+ {% for permission in resource.permissions %}
+ <Permissions>{{permission}}</Permissions>
+ {% endfor %}
+ </Resource>
+ {% endfor %}
</ResourceAccessControl>
<ClientAppAuthentication>
