giswqs / geemap-streamlit

geemap with streamlit
https://gishub.org/streamlit-geemap
MIT License
14 stars 9 forks source link

SECRET Token structure #1

Closed gregory1506 closed 2 years ago

gregory1506 commented 2 years ago

Is the secret token a json file? Or is it similar to what comes back from ee.Authenticate() with the webpage redirect?

giswqs commented 2 years ago

You can find the token in the following file path:

Windows: C:\Users\USERNAME\.config\earthengine\credentials
Linux: /home/USERNAME/.config/earthengine/credentials
MacOS: /Users/USERNAME/.config/earthengine/credentials

Open the file and copy the token

Go to https://share.streamlit.io and set it as a secret for your app.

gregory1506 commented 2 years ago

i dont seem to have any of those folders.

Edit:. Found It...Thanks