Skip to content

Commit

Permalink
Merge branch 'main' into kf-4049-bump-juju-3.1-uk8s-1.25
Browse files Browse the repository at this point in the history
  • Loading branch information
NohaIhab authored Sep 11, 2023
2 parents 9b7ee2b + f998c24 commit 706962b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ options:
If not empty, this is a comma-separated list of paths, e.g. "/path1/,/path2/".
That list defines which paths do not need to be authenticated on OIDC.
The DEX path is always added to this list.
userid-claim:
type: string
default: 'email'
description: OpenID Connect claim whose value will be used as the userid.
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def service_environment(self):
"OIDC_PROVIDER": f"{self.public_url}/dex",
"OIDC_SCOPES": self.model.config["oidc-scopes"],
"SERVER_PORT": self._http_port,
"USERID_CLAIM": self.model.config["userid-claim"],
"USERID_HEADER": "kubeflow-userid",
"USERID_PREFIX": "",
"SESSION_STORE_PATH": "bolt.db",
Expand Down

0 comments on commit 706962b

Please sign in to comment.