@rp Hello. Regarding the account linking. Currentl...
# support-questions-legacy
p
@rp Hello. Regarding the account linking. Currently what I am doing is i am supporting both emailpassword and thirdparty. But since we are having different userid for each recipe even though we are logged in with the google i am using the user_id of the emailpassword if exists. The reason behind this there are already many users in my project and now they want to use google instead of email password so when ever they logs in it creates new user but if i have to use user_id i look in to emailpassword table and get the user_id and then use it. With this their old content is still available and if they create new old user_id is being used. But if i have to get the user_id from the session it gives me the user_id of the thirdparty user. Can i change the session or create new session with the user id of emailpassword wven thought logged in with google or is there any alternate ways that i am missing here ?