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 documentation is wrong #597

Open
Inquisitive-ME opened this issue Jul 21, 2024 · 2 comments
Open

Authentication documentation is wrong #597

Inquisitive-ME opened this issue Jul 21, 2024 · 2 comments

Comments

@Inquisitive-ME
Copy link

I am trying to understand how to use this package and the documentation is wrong

I try to follow This OIDC Authentication: Device Code Flow

And I get

    raise OpenEoClientException("No client_id found.")
openeo.rest.OpenEoClientException: No client_id found.

When I run

connection.authenticate_oidc_device()

I have no idea how you are supposed to authenticate

@soxofaan
Copy link
Member

What openEO backend are you trying to connect to?

@soxofaan
Copy link
Member

Note that openEO backends like openeo.vito.be, openeo.cloud, openeo.dataspace.copernicus.eu provide default client_ids, so a simple connection.authenticate_oidc_device() works out of the box there (in the sense that you won't get that exception at least).

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