Copied to clipboard

Flag this post as spam?

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


  • Danny dineen 17 posts 96 karma points
    Mar 07, 2018 @ 19:18
    Danny dineen
    0

    UmbracoAuthorizedApiController since update from 7.7.6 to 7.9.2 return Authorization has been denied for this request.

    I have an API method as follows:

    [RoutePrefix("umbraco/backoffice/api/version1")]
    public class MyController : UmbracoAuthorizedApiController
    { 
    

    ....

    I pass it an access token in the header obtained from umbraco/oauth/token. This worked perfectly before the upgrade. Now it returns "Message": "Authorization has been denied for this request." The token I am passing in is for a backoffice user.

    Any ideas?

  • Danny dineen 17 posts 96 karma points
    Mar 14, 2018 @ 18:54
    Danny dineen
    1

    This will be fixed in version 7.9.3 - https://github.com/umbraco/UmbracoRestApi/issues/42

    Thank you very much :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies