Skip to content

Commit

Permalink
Added request parameter into BaseSocialAuthView.get_object() return p…
Browse files Browse the repository at this point in the history
…arameters to allow integration with other backends (like Axes). (#175)
  • Loading branch information
alicegilli committed Jan 8, 2024
1 parent be55e63 commit b41e5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_social_auth/views.py
Expand Up @@ -163,7 +163,7 @@ def get_object(self):
if self.oauth_v1():
self.save_token_param_in_session()

user = self.request.backend.complete(user=user)
user = self.request.backend.complete(user=user, request=self.request)
return user

def save_token_param_in_session(self):
Expand Down

0 comments on commit b41e5cd

Please sign in to comment.