File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -666,9 +666,9 @@ def process(self, authid):
666
666
'grant_type' : 'refresh_token' ,
667
667
'refresh_token' : resp ['refresh_token' ]
668
668
}
669
- if service .has_key ("client_secret " ):
669
+ if service .has_key ("client-secret " ):
670
670
request_params ['client_secret' ] = service ['client-secret' ]
671
- if service .has_key ("redirect_uri " ):
671
+ if service .has_key ("redirect-uri " ):
672
672
request_params ['redirect_uri' ] = service ['redirect-uri' ]
673
673
674
674
# Some services do not allow the state to be passed
@@ -785,9 +785,9 @@ def handle_v2(self, inputfragment):
785
785
'grant_type' : 'refresh_token' ,
786
786
'refresh_token' : refresh_token
787
787
}
788
- if service .has_key ("client_secret " ):
788
+ if service .has_key ("client-secret " ):
789
789
request_params ['client_secret' ] = service ['client-secret' ]
790
- if service .has_key ("redirect_uri " ):
790
+ if service .has_key ("redirect-uri " ):
791
791
request_params ['redirect_uri' ] = service ['redirect-uri' ]
792
792
793
793
data = urllib .urlencode (request_params )
You can’t perform that action at this time.
0 commit comments