ID token to correspond to the primary account even on the first login of account linking

the way Auth0 handles account linking. When a user signs up with a social link for the first time, Auth0 creates a new user account and issues an ID token for that account. If you have set up automatic account linking, this new account will then be linked with an existing account if one exists with the same email address.

However, the ID token issued at the time of signup still corresponds to the new account, not the linked account. This is because the account linking process happens after the ID token is issued.

When the user logs in again, Auth0 recognizes that the accounts have been linked and correctly issues an ID token for the primary account .

what i want is the ID token to correspond to the primary account even on the first login

the code i use for the account linking action