providers/oauth2: fix token to code_token
This commit is contained in:
parent
82eade3eb1
commit
1c57128f11
|
@ -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:
|
||||||
|
|
|
@ -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 [
|
||||||
|
|
Reference in New Issue