From d5ea0de84ef0b76390a10b323a7ce635f01665b7 Mon Sep 17 00:00:00 2001 From: Josh Cunningham Date: Wed, 5 Dec 2018 11:10:48 -0800 Subject: [PATCH] PR feedback --- lib/auth0/api/authentication_endpoints.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/auth0/api/authentication_endpoints.rb b/lib/auth0/api/authentication_endpoints.rb index a467309b..f8a536ef 100644 --- a/lib/auth0/api/authentication_endpoints.rb +++ b/lib/auth0/api/authentication_endpoints.rb @@ -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