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

Problems with instructions on using own API key #292

Closed
scaramouche1 opened this issue Dec 7, 2024 · 6 comments · Fixed by #295
Closed

Problems with instructions on using own API key #292

scaramouche1 opened this issue Dec 7, 2024 · 6 comments · Fixed by #295

Comments

@scaramouche1
Copy link

The instructions on "Using your own API key" seem to be outdated or incomplete. Google's Cloud Console doesn't seem to offer a way to download a client_secret.json file. Instead, it directly offers an API key, but it's unclear how to pass this to lieer.

@scaramouche1 scaramouche1 changed the title Problems with instructions on using own API keys Problems with instructions on using own API key Dec 7, 2024
@bcspragu
Copy link
Contributor

The term "API key" is likely what's confusing people here:

image

You want the "OAuth client ID" option here, not the "API key" option

With that, it works fine for me. Creating an OAuth2 client gives you a client_id and a client_secret, and the download button looks like this for me:

image

@gauteh
Copy link
Owner

gauteh commented Jan 2, 2025

Good point. Would be great to update the instructions with this screenshot 😁

@bcspragu
Copy link
Contributor

bcspragu commented Jan 2, 2025

For sure, feel free to use them! (I can also send the PR if you'd prefer)

@gauteh
Copy link
Owner

gauteh commented Jan 2, 2025

For sure, feel free to use them! (I can also send the PR if you'd prefer)

That would be awesome!

@bcspragu
Copy link
Contributor

bcspragu commented Jan 3, 2025

Sounds good, writing those up now! One question for you: for the public OAuth2 credentials, the only "Redirect URI" set is localhost:xxxx, right? Just adding a brief section on the extremely minor risks of using the public creds

@gauteh
Copy link
Owner

gauteh commented Jan 3, 2025

I plan to remove the public credentials, see linked issue above.

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 a pull request may close this issue.

3 participants