Skip to content

Fix app/authenticator/jwt-token.js's invalidate to cleanly destroy session server-side #2

@nadnoslen

Description

@nadnoslen

We're doing this right now -- but it's fugly and could potentially fail.

The problem is ember-simple-auth and ember-simple-auth-token use invalidate() in wild ways.

Consider this:

  1. look into all ways ember-simple-auth-token is invoking invalidate()
  2. in cases where invalidate is simply clearing because of access token refresh attempt, maybe just hard code that.

Be aware of #3!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions