Authenticate Application/client_credentials flow

This commit is contained in:
Mészáros Mihály
2017-04-05 20:16:34 +02:00
parent ac8ac340af
commit 823dcf0fd7

View File

@@ -49,7 +49,7 @@ export default function authorize ( auth, authActions, errActions, configs ) {
.then(function (response) {
response.json()
.then(function (json){
console.log(json.access_token);
authActions.authorizeOauth2( { auth, token: json } );
});
})
.catch (function (error) {