-
|
Hi, I am trying to create a web application using flask and javascript. I am struggling with authentication part in javascript. I managed to authenticate in python using service account. But parsing the response in frontend javascript needs authentication too. Suggest some source or documentation for the process. Alternatively, I tried using geemap for my jupyter notebook based app. I was following your examples at https://github.com/giswqs/geemap/tree/master/examples/heroku Here, there is a a file config_vars.py that takes care of authentication. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Copy the content of the |
Beta Was this translation helpful? Give feedback.

Copy the content of the
credentialsfile on your computer and set it as an environment variableEARTHENGINE_TOKENon the app settings.