grycap / im-dashboard

IM Dashboard
https://im.egi.eu
Apache License 2.0
6 stars 11 forks source link

Cloud credentials: EGI Check-in #528

Open sebastian-luna-valero opened 6 months ago

sebastian-luna-valero commented 6 months ago

Hi,

Once you log into the IM Dashboard using EGI Check-in you get your OIDC access token with the eduperson_entitlement scope that lists all the VOs and sites that you have access to.

Would it be possible to use the information provided by the eduperson_entitlement scope and update the Cloud Provider Selection:

image

So instead it has two drop-down menus:

  1. Choose VO
  2. Choose Site

Then, EGI users won't have to configure Cloud Credentials for every <VO, site> in: https://im.egi.eu/im-dashboard/manage_creds

Many thanks! Sebastian

sebastian-luna-valero commented 6 months ago

xref: https://aai.egi.eu/token/

curl https://aai.egi.eu/auth/realms/egi/protocol/openid-connect/userinfo -H 'Authorization: Bearer ${TOKEN}' -H 'Content-type: application/json' | python3 -m json.tool;