Add server endpoints of admin-portal to identity.xml
<Resource context="/carbon(.*)" secured="false" http-method="all"/>
<Resource context="/portal(.*)" secured="false" http-method="all"/>
<Resource context="(.*)/user-portal(.*)" secured="false" http-method="all"/>
+ <Resource context="(.*)/admin-portal(.*)" secured="false" http-method="all"/>
<Resource context="/commonauth(.*)" secured="false" http-method="all"/>
<Resource context="/t/(.*)/carbon(.*)" secured="false" http-method="all"/>
<Resource context="/services(.*)" secured="false" http-method="all"/>
<Context>/api/</Context>
<Context>/api/users/v2/me/webauthn</Context>
<Context>/user-portal/</Context>
+ <Context>/admin-portal/</Context>
</WebApp>
<Servlet>
<Context>/identity/(.*)</Context>
</Servlet>
<OverwriteDispatch>
<Context>/user-portal/</Context>
+ <Context>/admin-portal/</Context>
</OverwriteDispatch>
</TenantContextsToRewrite>
