How can I link an already existing Strapi User with a Discord Account

Hi, I’ve implemented the Discord Provider login function. When I try to login with Discord with an already existing email address in the Strapi db it gives me the error “Email is already taken”. But when I try to login with a non existing email address in Strapi, the function works correctly and gives me the ability to create the user. So, how can I link an already existing user in Strapi to a Discord account?

This topic has been created from a Discord post (1215387403796086845) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

You mean for the admin pannel or API?

Ah ok that’s what I was looking for thxx