Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcanhelp committed Dec 6, 2018
1 parent ac25aff commit d5ea0de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/auth0/api/authentication_endpoints.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ def exchange_refresh_token(
)
raise Auth0::InvalidParameter, 'Must provide a refresh token' if refresh_token.to_s.empty?
request_params = {
grant_type: 'refresh_token',
client_id: client_id,
grant_type: 'refresh_token',
client_id: client_id,
client_secret: client_secret,
refresh_token: refresh_token
refresh_token: refresh_token
}
AccessToken.from_response post('/oauth/token', request_params)
end
Expand Down

0 comments on commit d5ea0de

Please sign in to comment.