Property 'id' does not exist in user on the twoFactor plugin in auth.ts file

Inside the "otpOptions" parameter in auth.ts file, it throws an error "Property id does not exist on type.", Where could I get the user ID that the code needs?
Was this page helpful?