Skip to content

Commit 2336a45

Browse files
committed
stringify keys of refresh params to match the added id & secret
1 parent 21f0dc0 commit 2336a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/omniauth/strategies/oauth2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def set_access_token_from_hash(hash)
105105
end
106106

107107
def refresh_access_token
108-
self.access_token = access_token&.refresh(token_params.to_hash(symbolize_keys: true), deep_symbolize(options.auth_token_params))
108+
self.access_token = access_token&.refresh(token_params.to_hash(stringify_keys: true), deep_symbolize(options.auth_token_params))
109109
end
110110

111111
protected

0 commit comments

Comments
 (0)