• Resolved AlexGraphicD

    (@alexgraphicd)


    When REST API is disabled on the “Components” section, I am unable to save changes on posts or pages. I am getting the error “The update failed. The REST API has been restricted to authenticated users.”

    I am not sure how I can authenticate my admin account if that is the issue?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Bowo

    (@qriouslad)

    @alexgraphicd are you on gutenberg or classic editor when you experienced that?

    Thread Starter AlexGraphicD

    (@alexgraphicd)

    Gutenberg, WP 6.2

    Thread Starter AlexGraphicD

    (@alexgraphicd)

    I asked on a FB group and somebody replied this:

    “FluentAuth plugin also has option to Disable REST Endpoint for wp users query for public and you are able to save when it is disabled.

    it very well could be, but I’m not the developer of either plugin, so.. 🤷</img>
    Hypothetically speaking, FluentAuth by name alone suggests it is focused on Authentication matters. If that’s the case, that developer could have made that disabling of REST conditional on authentication status.
    If (authenticated user) { allow rest } else { rest die };
    [not real code clearly, just for explanation purposes]
    The plugin OP has linked to doesn’t appear to make any conditional consideration. It’s just on or off.
    Either way, those files aren’t going to be encrypted or obfuscated, you should be able to see if it’s conditional pretty quickly.”

    Plugin Author Bowo

    (@qriouslad)

    @alexgraphicd thanks for making further investigation on this. I have not had time to look deeper into it. A conditional of some sort looks like a good solution. Will get back to you once I have time to investigate further.

    Plugin Author Bowo

    (@qriouslad)

    @alexgraphicd this should be fixed with v4.9.3 I’ve just released. Please test!

    Thread Starter AlexGraphicD

    (@alexgraphicd)

    Yes, I tried 5.0.1 and it works now! Keep up the great work.

    Plugin Author Bowo

    (@qriouslad)

    @alexgraphicd great to hear that. Will do!… and keep the feedback coming. Thanks again!

    Plugin Author Bowo

    (@qriouslad)

    @alexgraphicd I’m revisiting ASE’s old(er) support threads to appreciate the feedback you’ve given in improving ASE with a sneak peak of, and discount code you can get for the soon-to-be-released Pro version of ASE.

    If you’re interested, please contact me at https://bowo.io so I can send you the link to the website and the discount code.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can’t save edits to posts or pages when REST API is disabled.’ is closed to new replies.