File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,11 @@ def raise_token_response_error(self, response):
247
247
if response .status_code == 200 :
248
248
return
249
249
# otherwise something is up...
250
- http_error_msg = f"Get Token Error (url: { response .url } , status: { response .status_code } , body: { response .text } )"
250
+ http_error_msg = (
251
+ f"Get Token Error (url: { response .url } , "
252
+ f"status: { response .status_code } , "
253
+ f"body: { response .text } )"
254
+ )
251
255
raise HTTPError (http_error_msg , response = response )
252
256
253
257
def get_userinfo (self , access_token , id_token , payload ):
Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ def get(self, request):
88
88
auth .logout (request )
89
89
assert not request .user .is_authenticated
90
90
elif "code" in request .GET and "state" in request .GET :
91
-
92
91
# Check instead of "oidc_state" check if the "oidc_states" session key exists!
93
92
if "oidc_states" not in request .session :
94
93
return self .login_failure ()
You can’t perform that action at this time.
0 commit comments