equinor / webviz-config

Make Dash applications from a user-friendly config file :book: :snake:
https://github.com/orgs/equinor/projects/24
MIT License
54 stars 38 forks source link

Deployed app to Azure does not work when entering through My Apps #582

Open anders-kiaer opened 2 years ago

anders-kiaer commented 2 years ago

When going to https://myapps.microsoft.com/ you get a list of all your apps. Webviz deployed apps on Radix (using the deployment workflow) also appears here, however, when clicking on the app link you get the error message:

something went wrong...
You cannot access this application because it has been misconfigured. Contact your IT department and include the following information:
Undefined Sign-On URL for application "webviz-app-name"

If you however go directly to the application, https://webviz-app-name.app.radix.equinor.com/ it works as it should.

anders-kiaer commented 2 years ago

https://myapps.microsoft.com/ is using a field in app registration manifest.json to populate where the user should be directed. Adding something like this

    "signInUrl": "https://webviz-app-name.app.radix.equinor.com/",

fixes the issue.