Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

todo #135

Closed
wants to merge 1 commit into from
Closed

todo #135

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# See LICENSE file for licensing details.

options:
auth-url:
type: string
default: "/dex/auth"
description: todo
client-id:
type: string
default: 'authservice-oidc'
Expand Down Expand Up @@ -41,4 +45,4 @@ options:
userid-claim:
type: string
default: 'email'
description: OpenID Connect claim whose value will be used as the userid.
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 @@ -79,6 +79,7 @@ def service_environment(self):
ret_env_vars = {
"CLIENT_ID": self.model.config["client-id"],
"CLIENT_SECRET": secret_key,
"OIDC_AUTH_URL": self.model.config["auth-url"],
"DISABLE_USERINFO": True,
"OIDC_PROVIDER": f"{self.public_url}/dex",
"OIDC_SCOPES": self.model.config["oidc-scopes"],
Expand Down
Loading