I’m trying to authenticate user with AzureAD and I want to redirect user by implementing a RequestHandler in
@Override
public void serviceInit(ServiceInitEvent event) {
event.addRequestHandler(```
Can I redirect user to my authentication endpoint from RequestHandler?
I think you’ll have an easier time (and get a more secure app) if you instead configure Spring Security to handle it. It’ll be the same as for Google, but with different URLs in the config. OAuth 2 and Google Sign-in for a Vaadin Application | Vaadin
And thank you @quintessential-ibex that’s what I was looking for because my app is not using Spring and I don’t want to add Spring just for authentication
If I’m implementing authentication on my own, what will be more appropriate way to do it, RequestHandle or Servlet Filter? @secure-leopard@quintessential-ibex
My main concern was that while using Filter or RequestHandler I was filtering requests between Flow server and client. That’s why I just wanted to make sure that I’m using the best solutions.