Skip to content

Commit

Permalink
fix(facebook): Use GET to access access_token endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
pennersr committed Aug 17, 2023
1 parent abb196c commit 3d685a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions allauth/socialaccount/providers/facebook/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class FacebookOAuth2Adapter(OAuth2Adapter):
scope_delimiter = ","
authorize_url = settings.get("AUTHORIZE_URL", provider_default_auth_url)
access_token_url = GRAPH_API_URL + "/oauth/access_token"
access_token_method = "GET"
expires_in_key = "expires_in"

def complete_login(self, request, app, access_token, **kwargs):
Expand Down

0 comments on commit 3d685a2

Please sign in to comment.