Open Neena-Mohan opened 6 days ago
We plan to add some doc for Azure auth soon
@sedghi @IbrahimCSAE Could you help me with this? Is there anything we need to adjust in the configuration to resolve this issue? This is urgent, as we've halted production due to it.
Describe the Bug
We're using Azure dicom service for OHIF Viewer. In that, we gave azure login(authority) in config file for authentication. When loading the ohif viewer, it redirecting to microsoft login at first. For client, It should not redirect to there at first time. So please provide a solution for this.
oidc: [ { authority: "https://login.microsoftonline.com/****/v2.0/", client_id: "CLIENT_ID", redirect_uri: "/callback", response_type: "token", scope: "openid ****", post_logout_redirect_uri: "/logout-redirect.html", automaticSilentRenew: false, revokeAccessTokenOnSignout: true,
}, ],
Steps to Reproduce
Loading the url in browser Sample URL : https://domainname.z13.web.core.windows.net/viewer?StudyInstanceUIDs=***&token=***
At first, if the user microsoft account is not logged-in then it redirect to microsoft login.
The current behavior
Redirecting to microsoft login when loading the url at first time. If my microsoft account is already logged then its not going login page.
The expected behavior
It should not redirect to login page
OS
Windows 10
Node version
Using bundle files
Browser
Chrome 130.0.6723.117