Hi,
I have been following @quintessential-ibex 's guide to get JWT Auth working:
https://vaadin.com/blog/jwt-authentication-with-vaadin-flow-for-better-developer-and-user-experience
As a next step I have the requirement to enable a certain “passwordless” authentication.
The idea is that my Vaadin App is opened with a special secret query parameter.
I then add a Security Filter which reads this secret and creates the JWT cookie for a pre-defined user or somehow logs him in.
In the example JWT Auth is automatically configured in SecurityConfiguration,java with
setStatelessAuthentication(http, new SecretKeySpec(Base64.getDecoder().decode(authSecret), JwsAlgorithms.HS256), "com.example.application");
Is there a way how I can trigger what ever happens there programatically in a custom filter?
Or do you have better proposal how to approach such a use-case?