diff --git a/helm/templates/web-deployment.yaml b/helm/templates/web-deployment.yaml index a0db9ccfd..4ee223554 100644 --- a/helm/templates/web-deployment.yaml +++ b/helm/templates/web-deployment.yaml @@ -25,7 +25,6 @@ spec: initContainers: - name: passbook-database-migrations image: "{{ .Values.image.name }}:{{ .Values.image.tag }}" - imagePullPolicy: Always args: [migrate] envFrom: - configMapRef: @@ -50,7 +49,6 @@ spec: containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.name }}:{{ .Values.image.tag }}" - imagePullPolicy: Always args: [server] envFrom: - configMapRef: diff --git a/passbook/providers/oauth2/views/authorize.py b/passbook/providers/oauth2/views/authorize.py index ca0a2a563..227ab97e6 100644 --- a/passbook/providers/oauth2/views/authorize.py +++ b/passbook/providers/oauth2/views/authorize.py @@ -95,7 +95,7 @@ class OAuthAuthorizationParams: elif response_type in [ ResponseTypes.ID_TOKEN, ResponseTypes.ID_TOKEN_TOKEN, - ResponseTypes.TOKEN, + ResponseTypes.CODE_TOKEN, ]: grant_type = GrantTypes.IMPLICIT elif response_type in [