-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
What is the current behavior?
When you register new account through a different method, but with the same email as already existing account has, user object won't have customer_id property, thus fetching subscription data will go to .../undefined URL path and will crash at least Billing & Environments list pages.
Please provide the steps to reproduce and if possible a minimal demo of the problem** via screenshots or screen recording (you can convert to .gif via Gif.ski).
- Register account through email & password method.
- Optional: buy any plan
- Register new account with the same email, but log-in via Google login.
- No customer_id in user object -> unable to fetch subscription -> billing & environments list page crash
What is the expected behavior?
I think there are two possible solutions:
- either not allow logging-in with the same email as some account in existence already has
- or fix the bug in in stripe or wherever it lies, that doesn't create new
customer_idfor this "duplicit" account
What is the motivation / use case for changing the behavior?
It's a really rare case that this would actually happen to someone, but I can imagine that if somebody forgot that they created account through email & password, but then tried to log-in via google-login it could happen.
I'm creating this bug report, so that we know of this problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels