kris-payne / Twilio-Flex-with-Dynamics365

Flex Plugin and Twilio Functions used for integration with Microsoft Dynamics 365
2 stars 2 forks source link

Error loading msdyn_library.js file #1

Open eduardoed5 opened 4 years ago

eduardoed5 commented 4 years ago

There are times when loading the js file, it sends us this error: because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled . I have noticed that it is redirected to this url: https://login.microsoftonline.com/d2866045-4788-443f-89f1-e11577311e02/oauth2/authorize?client_id=00000007-0000-0000-c000-000000000000&response_mode=form_post&response_type=code+id_token....&redirect_uri=https%3a%2f%2fbn1namcrmlivesg607.crm.dynamics.com%2f&max_age=86400, so the browser indicates that it is not a script. Flex correctly loads and even validates the user who has successfully signed in to Azure Active Directory.

What do you recommend me?