Skip to content
Discussion options

You must be logged in to vote

Hi @franzenzenhofer,

From Google Colab, you'll want to do:

account = searchconsole.authenticate(client_config='auth/client_secrets.json', flow='console')

For more context:

By default, the package tries to help you authenticate by opening a local web server and browser for you to sign in and authenticate with. This is the "web" flow. It's not possible to do that on Google Colab so there is an alternative "console" flow which prints a link that you can manually open, authenticate with, and copy and paste into your notebook.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Swchuynh
Comment options

@Swchuynh
Comment options

@TedTansley
Comment options

Answer selected by joshcarty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants