Skip to content

Commit fdf4fdd

Browse files
authored
Merge pull request #3985 from martin-kuba/python_cli_elixir
feat(cli-python): add elixir proxy to the list of perun instances for…
2 parents d892b28 + 1bed707 commit fdf4fdd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

perun-cli-python/perun/oidc/__init__.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ class PerunInstance(str, Enum):
2828
cesnet = "cesnet",
2929
idm = "idm",
3030
idm_test = "idm-test",
31-
perun_dev = "perun-dev"
31+
perun_dev = "perun-dev",
32+
elixir = "elixir"
3233

3334

3435
class DeviceCodeOAuth:
@@ -85,6 +86,13 @@ def __init__(self, perun_instance: PerunInstance, encryption_password: str, mfa:
8586
'perun_api_url': 'https://idm.ics.muni.cz/oauth/rpc',
8687
'mfa': True
8788
},
89+
PerunInstance.elixir: {
90+
'metadata_url': 'https://login.elixir-czech.org/oidc/.well-known/openid-configuration',
91+
'client_id': 'da97db9f-b511-4c72-b71f-daab24b86884',
92+
'scopes': 'openid perun_api perun_admin offline_access profile authn_details',
93+
'perun_api_url': 'https://elixir-api.aai.lifescience-ri.eu/oauth/rpc',
94+
'mfa': True
95+
},
8896
# PerunInstance.idm_satosa: {
8997
# 'metadata_url': 'https://proxy.aai.muni.cz/OIDC/.well-known/openid-configuration',
9098
# 'client_id': '5a730abc-6553-4fc4-af9a-21c75c46e0c2',

0 commit comments

Comments
 (0)