debtcollective / parent

1 stars 0 forks source link

Invalidate tools session if Discourse session and tools session differ. #242

Closed orlando closed 5 years ago

orlando commented 5 years ago

There's an edge case where a user that has multiple accounts switches between does without involving the tools app. To replicate this issue do the following (you need two accounts)

  1. Login with one account in the tools app
  2. Go to community.debtcollective.org, log out and log in with another account
  3. Go to the tools app again. You will have the session from the first account, but the header will show the one from (2)

Tasks

Acceptance criteria

orlando commented 5 years ago

@duranmla let's discuss this one, this should be done as part of the header refactor and we will need to enable some endpoints in Discourse to deal with this without API limits