Skip to content

Commit

Permalink
Improve auth warning #81
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Nov 2, 2023
1 parent 5434d5b commit f721023
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
10 changes: 4 additions & 6 deletions documentation/1.0/javascript/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,14 @@ Depending on the back-end, there might be two different approaches to authentica
You need to inform yourself at your back-end provider of choice, which authentication approach you have to carry out.
You can also have a look at the [openEO Hub](https://hub.openeo.org/) to see the available authentication types of the back-ends.

::: tip Recommendation
The Google Earth Engine implementation for openEO only supports Basic authentication, but generally the preferred authentication method is [OpenID Connect](#openid-connect-authentication) due to better security mechanisms implemented in the OpenID Connect protocol.
:::

### Basic Authentication

The Basic authentication method is a common way of authenticate HTTP requests given username and password.

::: warning
The preferred authentication method is OpenID Connect due to better security mechanisms implemented in the OpenID Connect protocol.
If possible, use OpenID Connect instead of HTTP Basic authentication.
The Google Earth Engine doesn't support OpenID Connect yet.
:::

The following code snippet shows how to log in via Basic authentication:

```js
Expand Down
10 changes: 4 additions & 6 deletions documentation/1.0/python/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,14 @@ You can also have a look at the [openEO Hub](https://hub.openeo.org/) to see the

A detailed description of why and how to use the authentication methods is on the [official documentation](https://open-eo.github.io/openeo-python-client/auth.html#authentication-and-account-management).

::: tip Recommendation
The Google Earth Engine implementation for openEO only supports Basic authentication, but generally the preferred authentication method is [OpenID Connect](#openid-connect-authentication) due to better security mechanisms implemented in the OpenID Connect protocol.
:::

### Basic Authentication

The Basic authentication method is a common way of authenticate HTTP requests given username and password.

::: warning
The preferred authentication method is OpenID Connect due to better security mechanisms implemented in the OpenID Connect protocol.
If possible, use OpenID Connect instead of HTTP Basic authentication.
The Google Earth Engine doesn't support OpenID Connect yet.
:::

The following code snippet shows how to log in via Basic authentication:
```python
print("Authenticate with Basic authentication")
Expand Down
10 changes: 4 additions & 6 deletions documentation/1.0/r/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,14 @@ You need to inform yourself at your back-end provider of choice, which authentic
You can also have a look at the [openEO Hub](https://hub.openeo.org/) to see the available authentication types of the back-ends.
For Google Earth Engine, only [Basic Authentication](#basic-authentication) is supported at the moment.

::: tip Recommendation
The Google Earth Engine implementation for openEO only supports Basic authentication, but generally the preferred authentication method is [OpenID Connect](#openid-connect-authentication) due to better security mechanisms implemented in the OpenID Connect protocol.
:::

### Basic Authentication

The Basic authentication method is a common way of authenticate HTTP requests given username and password.

::: warning
The preferred authentication method is OpenID Connect due to better security mechanisms implemented in the OpenID Connect protocol.
If possible, use OpenID Connect instead of HTTP Basic authentication.
The Google Earth Engine doesn't support OpenID Connect yet.
:::

The following code snippet shows how to log in via Basic authentication:
```r
login(login_type="basic",
Expand Down

0 comments on commit f721023

Please sign in to comment.