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:
- 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:

View File

@ -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 [