Authorization problem with UmbracoAuthorizedApiController not decorated with Plugin Umbraco Api
I was having problems getting authorization failures on any class that inherited from UmbracoAuthorizedApiController that was not decorated with the PluginController UmbracoApi attribute; namely, DomainsApiController, ExamineManagementApiController and XmlDataIntegrityController.
I traced it back to the UmbracoAuthorize attribute. At the point in checking for the user, the user was null. By adding the attribute on these classes it resolved the issue.
[PluginController("UmbracoApi")]
public class DomainsApiController : UmbracoAuthorizedApiController
My question: is this a bug in the Umbraco code or does this sugest that there may be a problem with my configuration that is causing this behavior? I am not seeing others having the same issue.
Authorization problem with UmbracoAuthorizedApiController not decorated with Plugin Umbraco Api
I was having problems getting authorization failures on any class that inherited from UmbracoAuthorizedApiController that was not decorated with the PluginController UmbracoApi attribute; namely, DomainsApiController, ExamineManagementApiController and XmlDataIntegrityController.
I traced it back to the UmbracoAuthorize attribute. At the point in checking for the user, the user was null. By adding the attribute on these classes it resolved the issue.
[PluginController("UmbracoApi")]
public class DomainsApiController : UmbracoAuthorizedApiController
My question: is this a bug in the Umbraco code or does this sugest that there may be a problem with my configuration that is causing this behavior? I am not seeing others having the same issue.
is working on a reply...