How to prompt password reset after first login

Hi, We have a requirement that custom nodes are delivered as container image which is built on top of node-red base image.
For security reasons, we added user in node-red with default credentials which will be shared securely (via email). But however we want to enforce the user to reset the password once he login with default credentials successfully.
is there any way to trigger the password reset for that particular user when he login next-time or after successfully login for first time? Or does node-red any equivalent similar futures like onetime password already ? It would be really helpful if we get any ideas/solution to achieve the same.

Cross posted on Stack Overflow here