cancelExpiresAtEvent uses $timeout, but it is not injected into the AccessToken factory causing a block error to be thrown.
Easy way of replicating error being thrown is run AccessToken.setTokenFromString(hash). I have created a pr for the fix as this is blocking us from a release of a new oauth integration in our app.
cancelExpiresAtEvent uses $timeout, but it is not injected into the AccessToken factory causing a block error to be thrown.
Easy way of replicating error being thrown is run AccessToken.setTokenFromString(hash). I have created a pr for the fix as this is blocking us from a release of a new oauth integration in our app.
PR for fix https://github.com/angularjs-oauth/oauth-ng/pull/125