Open-EO / openeo-qgis-plugin

QGIS Plugin to connect and use openEO compliant backends.
Apache License 2.0
17 stars 1 forks source link

OpenID Authentication #4

Open bgoesswe opened 5 years ago

bgoesswe commented 5 years ago

At the moment the QGIS Plugin only supports Basic Authentication or no authentication. Some openEO backends (e.g. EODC) use OpenID. This authentication type should be added to the plugin.

bgoesswe commented 5 years ago

related to #10

lmenard commented 3 years ago

Hi, I pick-up this thread as it covers an authentication issue I'm currently facing with the openEO Connector. I have downloaded and successfully installed the OpenEO QGIS plugin on a 3.16.0-Hannover QGIS install on Mac OS Big Sur Version 11.0.1. I have currently a running Sentinel Hub trial and a Google Earth Engine accounts and I try to connect to them via the OpenEO QGIS plugin using openEO Connector.

Unfortunately after entering valid username/password in the form I get a « Warning Authentication failed » message (See screenshot).

Do I bump into the Basic Authentication or no authentication issue ? If yes when should this be fixed ? If I miss something or do any thing wrong, thanks in advance for your support. Best, Lionel Capture d’écran 2020-11-19 à 10 01 30 (2)

bgoesswe commented 3 years ago

Hey Lionel, Thank you for contacting us with this issue, I think the problem is that these authentication types might not work for our openEO instance of these backends (at least for earth engine I think you need an account different from the official GEE one). Have you got the credentials from a member of the openEO project?

To find out if this is only a QGIS issue you can try to log in with the web editor of openEO: For GEE: https://editor.openeo.org/?server=https://earthengine.openeo.org/v1.0

If this also does not work, please contact us via mail (openeo@list.tuwien.ac.at), so that we can provide you with compatible credentials. Best, Bernhard

lmenard commented 3 years ago

Hi Bernhard, thanks for your swift reply. I'm not sure I properly understand you first question about the credentials. What I did is that I created credentials (Sentinel Hub and GEE) from regular registration process on each of the platforms. I was then expecting to use them from the QGIS openEO Connector plug-in to connect to those platforms.

Regarding the GEE test you've suggested, I did it with my Gmail credential (from which I can successfully access https://code.earthengine.google.com/) but it fails using these credentials to connect to the openEO web editor as shown in the attached screenshot. Should I proceed via the email you suggest on keep posting in this list ? Thanks for your support. Best, Lionel

Capture d’écran 2020-11-19 à 10 59 54
bgoesswe commented 3 years ago

Ok, so I don't really know for Sentinel Hub, but our GEE backend has at the moment their own user credentials. So the credentials from Google unfortunately do not work, since this connection was not really a key goal of the openEO project (but might come in the future).

So there are basically two options:

For Sentinel Hub I would suggest to contact us on our official mail address (openeo@list.tuwien.ac.at) for investigating the next steps. Please let me know if that helped you, Best, Bernhard

lmenard commented 3 years ago

Hi Bernhard, thanks for your detailed reply. I will have a look to the solution you propose. In the mean time I'll get back to you via the email address you suggested for the Sentinel Hub issue and maybe more precisely regarding our expectations using the openEO QGIS plugin. Thanks again for your efficient support. Best, Lionel