hi this is how i solved it from my end. Mentioned in the different chat as well.
Do try it out - this should work for you.
https://private-poc.madefortrade.in/t/update-for-api-traders-new-changes-in-dhanhq-api-authentication-process-and-updates/56286/129?u=rohantrader