Is your feature request related to a problem? Please describe.
I logged in to the production server and it created me a second account.
This broke my permissions, because the current user that loaded in the back-end was not the one associated with my user record in my /profile page. I was getting a 403 when I tried to sync my user profile.
Describe the solution you'd like
Investigate this issue; make sure that only one user per-email can exist.
Additional context
Problem can probably be found in api/src/middleware/authz.middleware.ts
Relates to:
Context
Is your feature request related to a problem? Please describe. I logged in to the production server and it created me a second account. This broke my permissions, because the current user that loaded in the back-end was not the one associated with my user record in my /profile page. I was getting a 403 when I tried to sync my user profile.
Describe the solution you'd like Investigate this issue; make sure that only one user per-email can exist.
Additional context Problem can probably be found in
api/src/middleware/authz.middleware.ts