Update user on OauthSignin

I have a scenario where user sign in the application first time, user document is created in the DB, this user has extra key called employeeID, which is coming from IDP, now the user's employeeID is changed in the IDP server, means when the user sign in again we get the different user account, I want to update the user account in signin, if the employeeID is changed.
Was this page helpful?