In my web app I'm allowing users to sign up with oauth / email&password / Solana wallet.
If a user signs up with oauth or email&password and they later want to link their Solana wallet I'm currently using a custom RPC function to manually insert an identity. I know this isn't a great solution, but it has worked for us up until now.
Is there a solution for linking a wallet to an existing account that isn't in the documentation? I can't find anything in the docs and ChatGPT isn't giving me any information