Open-EO / openeo-api

The openEO API specification
http://api.openeo.org
Apache License 2.0
91 stars 11 forks source link

Clarify: Send token to discovery endpoints #416

Closed m-mohr closed 2 years ago

m-mohr commented 2 years ago

Discovery endpoints (e.g. GET /collections) allow to be requested with and without Bearer Token. Sending the Bearer Tokens with the clients is important once you have it so that private data (e.g. Collections) can be requested. This is important for e.g. exposing Planet data through openEO Platform.

Clarify in the API that clients should send tokens if available. This will likely result in issues for all clients, none supports this yet AFAIK.

m-mohr commented 2 years ago
flahn commented 2 years ago

The openeo r client already supports this feature for processes and collections. It was requested during openEO to allow internal staff to access the full data catalogue and offer published collections to external users.

m-mohr commented 2 years ago

@flahn This is great news. Is there any caching implemented in the R client that would need to be refreshed on authentication changes?