Skip to content

Commit

Permalink
fix: comment EGI prod check
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnacioHeredia committed Oct 28, 2024
1 parent fdd874e commit fc3365f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ai4papi/routers/v1/secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ def vault_client(jwt, issuer):
"""
Common init steps of Vault client
"""
# Check we are using EGI Check-In prod
if issuer != 'https://aai.egi.eu/auth/realms/egi':
raise HTTPException(
status_code=400,
detail="Secrets are only compatible with EGI Check-In Production OIDC " \
"provider.",
)
# # Check we are using EGI Check-In prod
# if issuer != 'https://aai.egi.eu/auth/realms/egi':
# raise HTTPException(
# status_code=400,
# detail="Secrets are only compatible with EGI Check-In Production OIDC " \
# "provider.",
# )

# Init the Vault client
client = hvac.Client(
Expand Down

0 comments on commit fc3365f

Please sign in to comment.