code
code

Reputation: 4231

When accessing a Vaadin app behind a Zuul proxy get a Cookies disabled error

Trying to access a Vaadin application built on top of Spring Cloud. The application returns an error stating Cookies Disabled click here or hit ESC.

Cookies are enabled within the browser.

Configuration is Vaadin app registers with Eureka and Zuul proxies all request.

vaadin-app:
  path: /ui/vaadin/**
  stripPrefix: false

The Vaadin app does not use Spring Security or Vaadin Security

Upvotes: 1

Views: 299

Answers (1)

code
code

Reputation: 4231

The fix ended up being fairly simple. Added sensitiveHeaders: Authorization

Now with this configuration within Zuul, the Vaadin application loads normally. Once more no security is being used. Probably would be required if security was enabled.

vaadin-app:
  path: /ui/vaadin/**
  stripPrefix: false
  sensitiveHeaders: Authorization

Upvotes: 1

Related Questions