Go to the Identity Server page: http(s)://<idp server >:<port>/nidp.
Select the contract where TOTP is configured as the second method for two-factor authentication.
Log in with the first method.
After successfully authenticating with the username and password, you are prompted to specify the TOTP OTP.
Use the TOTP app to generate the OTP and log in by using this OTP.