From 823dcf0fd75b7f0225f6cf0c96a73a923a1ed030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Mih=C3=A1ly?= Date: Wed, 5 Apr 2017 20:16:34 +0200 Subject: [PATCH] Authenticate Application/client_credentials flow --- src/core/oauth2-authorize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/oauth2-authorize.js b/src/core/oauth2-authorize.js index 7e58143c..18f92985 100644 --- a/src/core/oauth2-authorize.js +++ b/src/core/oauth2-authorize.js @@ -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) {