providers/oauth2: fix token to code_token

This commit is contained in:
Jens Langhammer 2020-09-13 23:42:45 +02:00
parent 82eade3eb1
commit 1c57128f11
2 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,6 @@ spec:
initContainers: initContainers:
- name: passbook-database-migrations - name: passbook-database-migrations
image: "{{ .Values.image.name }}:{{ .Values.image.tag }}" image: "{{ .Values.image.name }}:{{ .Values.image.tag }}"
imagePullPolicy: Always
args: [migrate] args: [migrate]
envFrom: envFrom:
- configMapRef: - configMapRef:
@ -50,7 +49,6 @@ spec:
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
image: "{{ .Values.image.name }}:{{ .Values.image.tag }}" image: "{{ .Values.image.name }}:{{ .Values.image.tag }}"
imagePullPolicy: Always
args: [server] args: [server]
envFrom: envFrom:
- configMapRef: - configMapRef:

View File

@ -95,7 +95,7 @@ class OAuthAuthorizationParams:
elif response_type in [ elif response_type in [
ResponseTypes.ID_TOKEN, ResponseTypes.ID_TOKEN,
ResponseTypes.ID_TOKEN_TOKEN, ResponseTypes.ID_TOKEN_TOKEN,
ResponseTypes.TOKEN, ResponseTypes.CODE_TOKEN,
]: ]:
grant_type = GrantTypes.IMPLICIT grant_type = GrantTypes.IMPLICIT
elif response_type in [ elif response_type in [