Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication problems with GEE in Streamlit #4

Closed
marta31415 opened this issue Nov 8, 2021 · 2 comments
Closed

Authentication problems with GEE in Streamlit #4

marta31415 opened this issue Nov 8, 2021 · 2 comments

Comments

@marta31415
Copy link

First of all, thank you for sharing this awesom material.

I have a problem when adding a GEE leafmap in a deployed Streamlit app: it does not display. It asks for a code given by a webside, I have the code but there is no box where to paste it. How can I solve this problem?

Thank you!

@giswqs
Copy link
Member

giswqs commented Nov 10, 2021

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.

@marta31415
Copy link
Author

Thank you so much!

@giswqs giswqs closed this as completed Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants