I've had a look to see if I can find existing documentation on this but I'm not able to find anything relevant. I'm trying to add functionality that will allow users to connect an OAuth account with their existing email/password account but there is currently no option to link the OAuth2 session with an existing account if doing it through SSR, I just get the error saying a session already exists. Is this intentional and is there a way to achieve what I'm looking for?
TL;DR
Developers are trying to link an OAuth2 account with an existing account via SSR, but are encountering an error stating that a session already exists. They are looking for a way to achieve this functionality.