Vaadin static JWT authentication

Hey!

I’m having trouble understanding how to implement a stateless JWT authentication with Vaadin. I have Google Identity Platform (Basically Firebase Auth) as my identity provider.
I can figure out how to make a custom Login component that uses the Firebase SDK to login, but I do not understand how to then attach my JWT to any request Vaadin Frontend sends to my backend. I don’t want to use any cookies, or session state preferably on the backend.

Am I missing something here? How do I get the vaadin frontend to be Firebase context-aware?

@Matti wrote a blog post about JWT in Flow a while back JWT authentication with Vaadin Flow - for better developer and user experience | Vaadin

But note that Flow is a server-driven framework, meaning that there is always a session state on the server.