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

Fix Colab authentication issue #1877

Merged
merged 1 commit into from Jan 11, 2024
Merged

Fix Colab authentication issue #1877

merged 1 commit into from Jan 11, 2024

Conversation

giswqs
Copy link
Member

@giswqs giswqs commented Jan 11, 2024

A temporary fix for Colab authentication issue by switching auth_mode from colab to notebook. See comments here.

Before

import ee
import geemap

ee.Authenticate(auto_mode='colab')
ee.Iinitialize(project='<your-project-id>')
m = geemap.Map()
m

After

import geemap
m = geemap.Map()
m

@giswqs giswqs merged commit c0bf463 into master Jan 11, 2024
13 checks passed
@giswqs giswqs deleted the colab branch January 11, 2024 05:18
Copy link

@github-actions github-actions bot temporarily deployed to pull request January 11, 2024 05:23 Inactive
@jdbcode
Copy link
Collaborator

jdbcode commented Jan 11, 2024

ee.Authenticate(auth_mode='notebook') was broken for a while yesterday and possible day before for local Jupyter notebook because of an issue from oauth team. It is working for local Jupyter again: https://issuetracker.google.com/319451094

@giswqs
Copy link
Member Author

giswqs commented Jan 11, 2024

Great to hear that it has been fixed. I will test it tonight and switch the auth mode from localhost back to notebook.

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

Successfully merging this pull request may close these issues.

None yet

2 participants