Account linking extra info
I have a question regarding account linking (using Google as the provider).
Right now, I’m able to link an additional account with a different email address by using
it seems like there’s no way to extend the account schema. I think it’s pretty common to have information like the name and email of a newly linked Google account, so that on the client side — when using
I tried using the hooks and databaseHooks, but I couldn’t get it to work.
Right now, I’m able to link an additional account with a different email address by using
allowDifferentEmails: true.it seems like there’s no way to extend the account schema. I think it’s pretty common to have information like the name and email of a newly linked Google account, so that on the client side — when using
authClient.listAccounts — I can display each account’s name, email, or other relevant info.I tried using the hooks and databaseHooks, but I couldn’t get it to work.