Skip to content

Commit 7508392

Browse files
committed
Remove Authorization header from refresh_token
1 parent 2586f17 commit 7508392

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/providers/oauth-provider.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ function OAuthProvider() {
163163
data = queryString.stringify(data);
164164

165165
var options = {
166-
headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
166+
headers: {
167+
'Authorization': undefined,
168+
'Content-Type': 'application/x-www-form-urlencoded'
169+
}
167170
};
168171

169172
return $http.post(`${config.baseUrl}${config.grantPath}`, data, options).then((response) => {

0 commit comments

Comments
 (0)