Anonymous access per client

How can I use this feature in 4.6? I already configured the client for anonymous access, but I don’t understand how to use it in my frontend.
So far I tried:

  • Call a content endpoint without bearer token (401 unauthorized)
  • Call a content endpoint without bearer token and with the client_id (401 unauthorized).
  • Call the token endpoint without the client_secret or client_id (gives invalid_client error).

The first approach should just work…I will test it agin

I can help checking it out if needed. in which commits was this functionality added?