Skip to content

Commit

Permalink
if social auth for trello then scope arguments is not getting for req…
Browse files Browse the repository at this point in the history
…uest token method
  • Loading branch information
bs-bhagirath-radadiya committed Sep 22, 2023
1 parent 6625678 commit 00a9bb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion social_core/backends/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ def request_token_extra_arguments(self):
def unauthorized_token(self):
"""Return request for unauthorized token (first stage)"""
params = self.request_token_extra_arguments()
# params.update(self.get_scope_argument())
if self.name not in ['trello']:
params.update(self.get_scope_argument())
key, secret = self.get_key_and_secret()
state = self.get_or_create_state()
response = self.request(
Expand Down

0 comments on commit 00a9bb0

Please sign in to comment.