Open template login inside extension popup

I use launchWebAuthFlow to authenticate user through my extension. All works fine. When i click “connect” button, browser window is opened to enter credentials (or not if already connected) on keycloak login template.

I’m looking for a way to open login template inside my extension popup.

Is someone who already tried that ? I can’t achieve any solution to do…