[UmbracoAuthorize] Getting 401 Unathorized HTTP Status Code
Hello Umbraco People,
I am after some help & advice after I have recently upgraded a project that is now running Umbraco 7.2.6
I have an UmbracoApiController class that has a mixed of publically & authorised methods in this class. The authorised methods have the attribute [UmbracoAuthorize] decorated on it.
This was working all lovely previously before upgrading.
Can anyone offer any advice on why this now not letting me hit these endpoints now?
[UmbracoAuthorize] Getting 401 Unathorized HTTP Status Code
Hello Umbraco People,
I am after some help & advice after I have recently upgraded a project that is now running Umbraco 7.2.6
I have an UmbracoApiController class that has a mixed of publically & authorised methods in this class. The authorised methods have the attribute [UmbracoAuthorize] decorated on it.
This was working all lovely previously before upgrading.
Can anyone offer any advice on why this now not letting me hit these endpoints now?
Cheers
Warren
It's best to not mix your backoffice WebAPI with your public site.
I would seperate the locked down backoffice one.
See this here: http://issues.umbraco.org/issue/U4-4990 also see this here http://umbraco.com/follow-us/blog-archive/2014/1/17/heads-up,-breaking-change-coming-in-702-and-62.aspx
ensure you have the attribute [IsBackOffice] as mentioned in the blogpost
is working on a reply...