7.1 - Forms - data provider not working

thumbnail
Mirto Silvio Busico, modified 7 Years ago. Regular Member Posts: 240 Join Date: 1/18/12 Recent Posts

Hi all,

I'm trying Forms and I'm stuck with data providers.

Documentation page: https://dev.liferay.com/discover/portal/-/knowledge_base/7-1/data-providers

Created a data provider for "Countries of the world", using it in a form gives a "Forbidden" error message.

I discovered that the webservice at http://localhost:8080/api/jsonws/country/get-countries/ is accessible only if you don't login

Step to reproduce:

 

What can I do to use data providers that require authentication (btw how to avoid to expose webservices to everyone excluded the authorized users) :-) ?