title: How to allow multiple external domains to access data from single application?
body: <p>I have a web application created using Spring Boot. Multiple users (like Company1, Company2, Company3) are registered in this application and they all have their own data. Consider that this application is hosted at <code>www.myapp.com</code>. Now these companies want to access their personal data but from their own domain. Like Company1 wants to access their data from <code>www.company1.com/data</code>, Company2 wants to access theirs from <code>www.company2.org/info</code>, and Company3 wants to access theirs from <code>www.company3.edu</code>. Is this possible? If so, how?</p>