Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Virtual role addition for ContentDeliveryAPI

$
0
0

As per the documentation I have set up the Content delivery API . As suggested I have added the virtual role:

<add name="contentapiread" type="EPiServer.Security.MappedRole, EPiServer.Framework" roles="Everyone" mode="Any" />

With above line when role is set to Everyone the Content delivery API response is coming up fine. However when I assign a role

<add name="contentapiread" type="EPiServer.Security.MappedRole, EPiServer.Framework" roles="Everyone" mode="CMSAdmins MyRole1 MyRole2 MyRoleGroup1" />

The Id i used to login to the site is having CMSAdmins as the role but Content Delivery API responsds with Forbidden. 

What am I missing here ?


Viewing all articles
Browse latest Browse all 9076

Trending Articles