Skip to content

Bug: Lingering third party billing token #127

@AnthonyRonning

Description

@AnthonyRonning

There might be a bug where a user signing out and logging in/signing up as a new user will leave the third party billing JWT token as it was on the previous account. and then when they go to pay, it creates a payment session for the previous UUID.

We need to make sure that always, we regenerated a new billing token on signup / signin. I think the easiest approach is that when any sign in or sign up button is pressed (also need to consider oauth), we clear out the JWT token for billing.

Also to make sure 100% that any logout flows will clear it too. That should already be the case but there must be an edge case somewhere because this just happened.

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