it-at-m / refarch-templates

All templates for the Reference Architecture of it@M
MIT License
7 stars 4 forks source link

[Feature] Add a alert notice to redirect for development when unauthorized #204

Open devtobi opened 2 months ago

devtobi commented 2 months ago

Relevant template

refarch-frontend

Problem description (optional)

The vite dev server is not capable of handling authorization with KeyCloak (even not when proxying). This means the developer has to navigate to the URL of the API-Gateway to get a valid SSO session and then return to the Vite dev server to start developing.

Desired solution

The problem can be improved by providing the user with a custom alert with the missing SSO session through the Vite proxy. This alert should then be able to open a new tab automatically to have the developer get a SSO session.

Considered alternatives (optional)


Additional context (optional)

No response

No duplicate

Code of Conduct

devtobi commented 2 months ago

https://github.com/it-at-m/refarch/issues/99 needs to be done first before this issue can be implemented. Setting to Blocked until resolved.