Disable Authentication from some actions in controllers


#1

Hi Sebastian,
I want to have a postman request to get all contents without authentication
How can I disable authentication from contentscontroller?


#2

You can remove the attributes: https://github.com/Squidex/squidex/blob/master/src/Squidex/Areas/Api/Controllers/Contents/ContentsController.cs#L62


#3

After removing ApiPremission attribute, I get “404 Not Found”.


#4

Then try to add [AllowAnonmyous]