Forums

navigator.credentials is undefined on a flask app?

Hey, I'm trying to settup a flask app for testing, which I got running besides this crucial error coming from a static .js file. I got this site locally on my comp without the JS giving me any problems and even tried it as a docker container on a different machine. Could it be a server dependency which I'm lacking? how can I find what am I missing just from this console.log error? (the error.log is empty) Thanks V1 edit1: specifically speaking its the credentials which is undefined.

Are you using the same browser (eg. Chrome v51 or something like that) in every case?

If you are, maybe it's a security thing? I can imagine that browsers might limit where code that accesses that variable can come from. There should be some kind of error in the web developer console inside the browser if that's the case.