File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,14 +33,12 @@ class DryccOIDC(OpenIdConnectAuth):
3333 ]
3434
3535 def __init__ (self , * args , ** kwargs ):
36- self .timeout = 3 # request timeout
3736 super ().__init__ (* args , ** kwargs )
3837
3938 @social_cache (ttl = 86400 )
4039 def oidc_config (self ):
4140 return self .get_json (
42- self .OIDC_ENDPOINT + '/.well-known/openid-configuration/' ,
43- timeout = self .timeout
41+ self .OIDC_ENDPOINT + '/.well-known/openid-configuration/'
4442 )
4543
4644 def get_user_data (self , access_token ):
@@ -51,7 +49,6 @@ def get_user_data(self, access_token):
5149 headers = {
5250 'authorization' : 'Bearer ' + access_token
5351 },
54- timeout = self .timeout ,
5552 )
5653 return {
5754 'id' : response .get ('id' ),
@@ -73,7 +70,6 @@ def refresh_token(self, refresh_token):
7370 'client_id' : settings .SOCIAL_AUTH_DRYCC_KEY ,
7471 'refresh_token' : refresh_token ,
7572 },
76- timeout = self .timeout ,
7773 )
7874
7975
You can’t perform that action at this time.
0 commit comments