From c949b22237c25a71d276fbc22530d88ecea3023f Mon Sep 17 00:00:00 2001 From: LAMBARE Aubin Date: Fri, 3 May 2024 12:35:49 +0200 Subject: [PATCH] feat(dedt_lumi): use destine auth --- eodag/resources/providers.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/eodag/resources/providers.yml b/eodag/resources/providers.yml index 62488b0393..8c87fecf29 100644 --- a/eodag/resources/providers.yml +++ b/eodag/resources/providers.yml @@ -6404,6 +6404,14 @@ DT_CLIMATE_ADAPTATION: outputs_extension: .grib auth: !plugin - type: HTTPHeaderAuth - headers: - Authorization: "EmailKey {username}:{password}" + type: OIDCAuthorizationCodeFlowAuth + authorization_uri: https://auth.destine.eu/realms/desp/protocol/openid-connect/auth + redirect_uri: https://polytope.lumi.apps.dte.destination-earth.eu/ + token_uri: https://auth.destine.eu/realms/desp/protocol/openid-connect/token + client_id: polytope-api-public + user_consent_needed: false + token_exchange_post_data_method: data + token_key: access_token + token_provision: header + login_form_xpath: //form[@id='kc-form-login'] + authentication_uri_source: login-form