Skip to content

Commit

Permalink
Modified the value used for clientId (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielscholl authored May 7, 2024
1 parent 359cf84 commit 498b84e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions charts/osdu-developer-auth/templates/config-map.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

{{- $namespace := .Release.Namespace }}
{{- $clientId := .Values.azure.appId }}
{{- $tenantId := .Values.azure.tenantId }}
---
apiVersion: v1
kind: ConfigMap
Expand Down Expand Up @@ -111,12 +113,12 @@ data:
var app = new Vue({
el: '#oauth-form',
data: {
tenantId: '{{ .Values.azure.tenantId }}',
clientId: '{{ .Values.azure.clientId }}',
tenantId: '{{ $tenantId }}',
clientId: '{{ $clientId }}',
redirectUrl: window.location.href, // Use the current page URL,
responseType: 'code',
responseMode: 'fragment',
scope: '{{ .Values.azure.clientId }}/.default openid profile offline_access',
scope: '{{ $clientId }}/.default openid profile offline_access',
authorizationCode: null,
accessToken: null,
idToken: null
Expand Down

0 comments on commit 498b84e

Please sign in to comment.