providers/oauth2: fix comparison to undefined ResponseTypes
This commit is contained in:
parent
4edfad869f
commit
b3468bc265
|
@ -93,9 +93,9 @@ class OAuthAuthorizationParams:
|
||||||
if response_type in [ResponseTypes.CODE]:
|
if response_type in [ResponseTypes.CODE]:
|
||||||
grant_type = GrantTypes.AUTHORIZATION_CODE
|
grant_type = GrantTypes.AUTHORIZATION_CODE
|
||||||
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.TOKEN,
|
||||||
]:
|
]:
|
||||||
grant_type = GrantTypes.IMPLICIT
|
grant_type = GrantTypes.IMPLICIT
|
||||||
elif response_type in [
|
elif response_type in [
|
||||||
|
|
Reference in New Issue