Hello everybody, i don’t know how to access to this object, I tried to get by
Promise.$$state.value.data.access_token but it doesn’t work !
Thank you
Can you provide a codepen with your code?
Or just tell where the object comes from?
i just found the solution, i had to use the then() function like that
OAuth.getAccessToken(user,options).then(
function (data) {
$localStorage.token= data.data.access_token;
});