CORS configuration for Vaadin 24

Hi all! I just published a small sample of cross-domain embedding of Vaadin applications: GitHub - samie/vaadin-cors-sample: Sample of embedded Vaadin application and cross-domain CORS settings..

I’ve always liked the idea that you can use Vaadin this way to build a small part of a website. With web component architecture, this is easy, and you can export the application to be consumed on other websites. The tricky part is the secure configuration of the headers and cookies, which you can find in the project.

4 Likes