Hi, i am implementing auth0 login with vaadin 14 but the last example about this was in vaadin 8 and in the example they use @SpringUI
and in vaadin 14 this annotation doesn’t exist so i was wondering if there is some way to achieve the same. or if exist some example with vaadin 14 to implement an identity provider.
Hola estoy intentando implementar un login a traves de auth0 con vaadin 14 pero el ultimo ejemplo existente es con vaadin 8 y en este se usa la annotacion SpringUI y en vaadin 14 esta no existe, mi pregunta es si existe alguna forma de hacer lo mismo o algun ejemplo para implementar un proveedor de identidad.
Hi, since you don’t need to implement UI in Vaadin 14+, you don’t need the SpringUI annotation. Usually, the Vaadin 8 UI implementation becomes a plain UI component like Composite or VerticalLayout marked with @Route. This makes instances of the class Spring-managed beans, so you can inject any dependencies to it via DI. There is a [tutorial series]
(https://vaadin.com/tutorials/securing-your-app-with-spring-security) that might help. Cheers.
Alejandro Duarte:
Hi, since you don’t need to implement UI in Vaadin 14+, you don’t need the SpringUI annotation. Usually, the Vaadin 8 UI implementation becomes a plain UI component like Composite or VerticalLayout marked with @Route. This makes instances of the class Spring-managed beans, so you can inject any dependencies to it via DI. There a [tutorial series]
(https://vaadin.com/tutorials/securing-your-app-with-spring-security) that might help. Cheers.