Nitesh Kumar Anand

Results 5 comments of Nitesh Kumar Anand

Any errors logged in console?

@dg14 from within loadMyFile, you should be returning the $ocLazyLoad.load returned promise instead of your "return true"?

@esteban-filardi you can access response of the `token()` method by accessing it from the response which will be available to you in the next handler, `res.locals.oauth.token`. Refer https://github.com/oauthjs/express-oauth-server/blob/master/index.js#L116

@stephanMettler I was running into the same issue and found out that if I am using $futureStateProvider.addResolve, the function passed works just fine if it is inline annotated. i.e. $futureStateProvider.addResolve(['$http',...

@critical Look at the first line, it seems you are missing to annonate futureState inline.