As we understand the problem here, the authenticator app was giving 6 digit code earlier and now (probably may be after a phone reset) you are getting 8 digit code.
It is suggested to add a new MFA option and remove existing one.
Here is a similar thread that could be of help to you. Please go through the below link where you will find helpful answers.
Kindly revert with your observations.
Thanks