Remove authentication in custom REST API resource I have a custom module to create a custom Rest API resource. I want to remove the authentication and make it without required authentication.
In my file custom_moudle/config/install/rest.resource.custom_resource.yml

this is my code

id: custom_resource
plugin_id: custom_resource
granularity: method
configuration:
  GET:
    supported_formats:
      - json
    supported_auth:
      - basic_auth


This is working fine but with authentication. When trying to remove this lines

supported_auth:
  - basic_auth


I got an error. So what is the correct way to remove this authentication?
REST module plugins must have an authentication plugin. Try using the cookie plugin, which is the default one that core uses.