FireBase auth with vaadin

Hi, has anyone used Firebase authentication on the back of their log in system? I have been trying to get it to work for the last couple days with only very limited success. The main source of my problem is getting it to work with the form based login approach. Curious if anyone has suggestions on how this could best be implemented.

Using spring boot and vaadin 14