Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • alimac 174 posts 341 karma points
    May 01, 2017 @ 21:10

    Getting data from an UmbracoAuthorizedJsonController


    I'm having some difficulty retrieving JSON data from a controller that inherits from UmbracoAuthorizedJsonController. The call seems to be rejected as 401 Unauthorized.

    If I move the call to a regular UmbracoApiController then it seems I can access the data as expected.

    This has actually worked out okay for my current situation as the data isn't sensitive, but if that situation changes, is there any way I can hook it up with some sort of secure call?


    (Also thanks for the great work, this package is incredibly useful!)

  • Alex Skrypnyk 5741 posts 21797 karma points MVP 4x admin c-trib
    May 05, 2017 @ 11:10
    Alex Skrypnyk

    Hi Alimac

    You has to create authentication mechanism for using UmbracoAuthorizedJsonControllers in Umbraco, there are no other ways to use UmbracoAuthorizedJsonController without authentication.



Please Sign in or register to post replies

Write your reply to: