epam / ai-dial-chat

A default UI for AI DIAL
https://chat.lab.epam.com
Apache License 2.0
55 stars 23 forks source link

[Authorizatiton] Add option to do authorization in the same window #1737

Closed hhharmEpm closed 2 weeks ago

hhharmEpm commented 2 months ago

Description

Add configuration option to perform authorization in the same window as overlay.

Use case/motivation

If dial chat is embeded, authorization doesn't work, because it's opened in browser and not in the application where it's embedded.

E.g. we try to embed dial overlay in Excel Add In. Overlay itself is run in Edge inside Excel, but after pressing 'Login' button authorization opens in browser, and after user is authorized overlay doesn't know about it.

Related issues

No response

Confidential information

VolhaBazhkova commented 1 month ago

Separate team implemented the feature: so, now if to set signInInSameWindow: true in Overlay code, authorization will be in the same window. It was verified locally and works with Auth0 provider successfully. Unfortunately, DIAL is down if to use Keycloak provider. Currently, I'm waiting for Overlay installation to verify other available providers.

VolhaBazhkova commented 2 weeks ago

Closing the ticket. The task to install Overlay on a separate server is on the board, but with no ETA and low priority. Probably the feature works with