Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix committed Nov 10, 2023
1 parent 3203ed7 commit 1db6563
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion iam/authmethods/m_openidconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ def init_providers(self, auth_event):

def get_public_config(self, auth_event):
return dict(
provider_ids=auth_event.auth_method_config["config"]["provider_ids"]
provider_ids=auth_event\
.auth_method_config\
.get("config", {})\
.get("provider_ids", [])
)

def check_config(self, config):
Expand Down

0 comments on commit 1db6563

Please sign in to comment.