Skip to content

Commit

Permalink
fix for #18816
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening committed Sep 16, 2024
1 parent aad1caf commit 103879e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/galaxy/authnz/psa_authnz.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ def _setup_idp(self, oidc_backend_config):
self.config["KEY"] = oidc_backend_config.get("client_id")
self.config["SECRET"] = oidc_backend_config.get("client_secret")
self.config["TENANT_ID"] = oidc_backend_config.get("tenant_id")
self.config["OIDC_ENDPOINT"] = oidc_backend_config.get("oidc_endpoint")
self.config["redirect_uri"] = oidc_backend_config.get("redirect_uri")
self.config["EXTRA_SCOPES"] = oidc_backend_config.get("extra_scopes")
if oidc_backend_config.get("oidc_endpoint"):
self.config["OIDC_ENDPOINT"] = oidc_backend_config["oidc_endpoint"]
if oidc_backend_config.get("prompt") is not None:
self.config[setting_name("AUTH_EXTRA_ARGUMENTS")]["prompt"] = oidc_backend_config.get("prompt")
if oidc_backend_config.get("api_url") is not None:
Expand Down

0 comments on commit 103879e

Please sign in to comment.