Hi
Thanks for reaching out to Microsoft Q&A.
Have you checked if the client secret is still valid? from your azure portal pane? the app is trying to match the client secret you have provided with that of your azure and finds it expired. I think the app has no role here to manipulate the secret code, its worth for you to check the entered details are clear and there are no mistakes.
Please Upvote and Accept as answer if the reply was helpful, this will be helpful to other community members.