OfficeDev / microsoft-teams-emergency-operations-center

The Microsoft Teams Emergency Operations Center (TEOC) solution template leverages the power of the Microsoft 365 platform to centralize incident response, information sharing and field communications using powerful services like Microsoft Lists, SharePoint and more.
MIT License
95 stars 40 forks source link

Unable to get pass the login screen #130

Closed Couzgeez closed 1 year ago

Couzgeez commented 1 year ago

The first day I tested the app, everything was working fine. Today i'm stuck on the main screen and I can't pass the login screen. From the dev console I can see this error message:

Access to XMLHttpRequest at 'https://zz1eocsimpleauth.azurewebsites.net/auth/token' from origin 'https://zz1eoc.azurewebsites.net' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

AshwiniShrirao commented 1 year ago

@Couzgeez, Can you please reproduce the issue again in browser version of teams and share the console logs and network trace for further troubleshooting this issue?

Please refer similar issue #111. Please let me know if that helps.

Couzgeez commented 1 year ago

Thanks for the comeback. I finally found the issue which was a security issue. It is now working.

v-asshrirao commented 1 year ago

@Couzgeez, Hope you are doing well. Regarding the issue you were having, can you please help us understand how it got fixed and the steps you have followed to fix this issue?