Skip to content

Commit eb1c538

Browse files
committed
BUG - The query_string shouldn't be passed to Fitbit in the callback phase
1 parent 9500342 commit eb1c538

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/omniauth/strategies/fitbit_oauth2.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ def basic_auth_header
2727
options[:client_secret]).gsub("\n", '')
2828
end
2929

30+
def query_string
31+
'' # The state and code params shouldn't be sent as part of the callback_url in the callback phase
32+
end
33+
3034
uid do
3135
raw_info['user']['encodedId']
3236
end

0 commit comments

Comments
 (0)