Good morning. I have a problem with the JWT DECODE library, it turns out that I am using it to decode the token that an API sends me to enter my login. When I use it on my local server it works perfectly, but now that I have my project on the test server, it generates these errors when I load the login view:
login.html: 54 GET link net: : ERR_ABORTED
login.html: 1 Slow network is detected. Fallback font will be used while loading: link
login.html: 1 This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https:
login.html: 54 GET link 404 ( Not Found)
And these errors when I entered the username and password:
[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check
VM153: 1 GET link 404 (Not Found)
Uncaught ReferenceError: jwt_decode is not defined at Object. (capturelogin.js: 53) at i (jquery-3.2.1.min.js: 2) at Object.fireWith [as resolveWith] (jquery-3.2.1.min.js: 2) at A (jquery-3.2.1.min.js: 4) at XMLHttpRequest. (jquery-3.2.1.min.js: 4)
and then I really do not understand why. My question is to know if this library only works on local servers or because it is generating these errors in the test server.
I would appreciate if you could help me.