Skip to content

Beacon is causing login failures using Spring-Boot-Keycloak-Adapter #58

@chrosim

Description

@chrosim

We are using the spring-boot-keycloak-adapter to secure our app.
Therefor each view at least needs a user to be logged in, otherwise the user gets redirected to the keycloak login page.
The adapter provides the possibility to open/close specified request paths to roles.
For Vaadin internal requests we have setup some whitelistings e.g:

keycloak.security-constraints[0].securityCollections[0].name=static-resources
keycloak.security-constraints[0].securityCollections[0].patterns[0]=/VAADIN/static/*
keycloak.security-constraints[0].securityCollections[0].patterns[1]=/vaadinServlet/*

Since BeaconHandler was changed from /beacon/ to root path we've lost the possibility to whitelist BeaconHandler-requests which leads to a Race-Condition related login problem after a user logs out from a view using CE, for example CE-AvatarGroup or CE-Binder.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions