Browser Device Flow implementation

Hello everyone,

We have a use case where the device we want to authenticate is a browser-based one but lacks a keyboard for data input. Therefore, we aim to leverage authentication flows suitable for such scenarios, such as the device authorization grant, and enable authentication for the limited device through another external client (also a browser) that will obtain the authentication link via QR Code.

Considering that both clients utilize a browser for authentication, how can we implement this use case?

Additionally, after initiating the flow, externally authorizing the client, and obtaining the access token, we would like to utilize Keycloak-js mechanisms within the browser of the limited client to track and automatically renew the session. Is this scenario possible? How can we proceed to fit into Keycloak’s normal login flow?

Thank you for your assistance.