Give unauthenticated users (other site using javascript) access to the API

thumbnail
Jamie Sammons, modificado hace 4 años. New Member Mensajes: 7 Fecha de incorporación: 30/04/14 Mensajes recientes

A colleague is creating a React application and wants to access certain types of Liferay content that I manage.

He wants to access to /o/headless-admin-content/v1.0/sites/xxxxxx/structured-contents?filter=contentStructureId%20eq%xxxxxx&sort=dateCreated%3Adesc

But to do that he needs to be authenticated.

Is there a way to open the API (only at that point) for unauthenticated users?


Note: I have solved the javasript CORS problem (System Settings > Security Tools > Portal Cross-Origin Resource Sharing (CORS))