user_metadata is empty when when connecting OAuth with same email
So, I'm trying to connect discord users with our email based users in our own backend. In our case, we need to support both the case where the email is and isn't the same.
But, whenever I login with a user and subsequently login with a discord user with the same email user_metadata fails to update.
This means I won't have them in the access_token and therefore won't be able to pass the data to our backend in a trusted manner.
I've checked that the identity is saved properly in the identities table, so the data isn't missing. When I login again with discord, the data is synced correctly.
Any idea what might be the course of this?
But, whenever I login with a user and subsequently login with a discord user with the same email user_metadata fails to update.
This means I won't have them in the access_token and therefore won't be able to pass the data to our backend in a trusted manner.
I've checked that the identity is saved properly in the identities table, so the data isn't missing. When I login again with discord, the data is synced correctly.
Any idea what might be the course of this?

