Headless API calls using basic auth fail in Liferay SaaS
written-by
Madeleine Clay
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
Note: please note that Liferay has renamed its Liferay Experience
Could offerings to Liferay SaaS (formerly LXC) and
Liferay PaaS (formerly LXC-SM).
Issue
- When I make remote headless API calls using basic auth to my Liferay SaaS environment, I get
403 Forbidden responses.
- How can I make remote headless API calls to a Liferay SaaS environment?
Resolution
- Basic auth is disabled in Liferay SaaS.
- To successfully make remote headless API calls, use another authentication method, such as OAuth 2.
did-this-article-resolve-your-issue