Skip to content

Commit

Permalink
fix facebook login #36 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
merwok authored Oct 17, 2018
1 parent e7a2319 commit 30aba20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_auth_toolkit/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def validate(self, data):
graph = facepy.GraphAPI(req.user.oauth_token.token)
data = graph.get('me?fields=email,first_name,last_name,third_party_id')

extended_token = facepy.get_extended_access_token(
extended_token, __ = facepy.get_extended_access_token(
req.user.oauth_token.token,
settings.FACEBOOK_APP_ID, settings.FACEBOOK_APP_SECRET_KEY)

Expand Down

0 comments on commit 30aba20

Please sign in to comment.