Custom Login Success URL

Hi, how to define a custom login-success url in vaadin 24?

I have already seen the com.vaadin.flow.spring.security.VaadinSavedRequestAwareAuthenticationSuccessHandler and the point where it is created (com.vaadin.flow.spring.security.VaadinWebSecurity#setLoginView(org.springframework.security.config.annotation.web.builders.HttpSecurity, java.lang.Class<? extends com.vaadin.flow.component.Component>, java.lang.String)), but how to configure/override it (without duplicate the setup inside the setLoginView-method?

Sadly it’s not really customizable

yes :frowning_with_open_mouth: … but there is already an pull-request https://github.com/vaadin/flow/issues/16536 to make the setup protected, which should enable to override the defaultTargetUrl …

Only discussion, no open PR or commitment of the flow team tho :grimacing:

ups^^ … then i hope the comment will reopen the discussion