BrowserFrame and OAuth2

Dear,

I’m trying to implements an application with Microservice, Vaadin and OAuth2.

My main application (VAADIN) will display remote UIs (VAADIN) from remote Microservices and for autorization I have to use OAuth2 token.

Without security, no problems, I use BrowserFrame to display remote UI and it works correctly.

The problem is when I activate the security… How to inject OAuth2 autorization token (BEARER) in the remote call … ?

I’ve tried to replace browserFrame by embedded-ui, works partially, but i fall into another problems :frowning:

Can someone has a solution by using BrowserFrame or any another component ?

Help will be appreciated as I’m getting crazy now.
Thanks.
Kratos