Skip to content

Commit

Permalink
minor changes, redirect uri and issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
dfry committed Mar 20, 2024
1 parent 609f614 commit 2f99875
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mojaloop/iac/roles/dex/templates/dex-config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ oauth2:
staticClients:
- id: {{ dex_static_client_id }}
redirectURIs:
- http://localhost:8000 # for kubelogin
- https://{{ dex_fqdn }}/dex/callback
name: '{{ dex_static_client_id }}'
secret: ZXhhbXBsZS1hcHAtc2VjcmV0

Expand Down
2 changes: 1 addition & 1 deletion mojaloop/iac/roles/microk8s/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
dest: /var/snap/microk8s/current/args/kube-apiserver
marker: "# {mark} ANSIBLE MANAGED: microk8s oidc config"
content: |
--oidc-issuer-url=https://{{ k8s_oidc_issuer_fqdn }}
--oidc-issuer-url=https://{{ k8s_oidc_issuer_fqdn }}/dex
--oidc-ca-file=/usr/share/ca-certificates/dex/{{ k8s_oidc_issuer_fqdn }}.crt
--oidc-client-id={{ k8s_oidc_client_id }}
--oidc-username-claim=email
Expand Down

0 comments on commit 2f99875

Please sign in to comment.