Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Dependency issue when using UI-Router 0.3 #202

Description

@robertjd

Upgrading UI-Router to 0.3 causes this exception in our code, if UI-Router is listed before stormpath in the module dependencies:

angular.js:4442 Uncaught Error: Unrecognised token store: localStorage
    at Object.getTokenStore (stormpath-sdk-angularjs.js:3394)
    at new StormpathOAuthToken (stormpath-sdk-angularjs.js:2322)
    at StormpathOAuthTokenProvider.$get (stormpath-sdk-angularjs.js:2476)
    at Object.invoke (angular.js:4478)
    at angular.js:4295
    at getService (angular.js:4437)
    at Object.invoke (angular.js:4469)
    at Object.enforcedReturnValue [as $get] (angular.js:4330)
    at Object.invoke (angular.js:4478)
    at angular.js:4295

Reproduction in the head of this branch:

stormpath/express-stormpath-angular-sample-project@66f5ed2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions