Hi @james.boswell,
Welcome to the Auth0 Community!
To mimic the Password Rotation integration in a Post-login action script, I suggest checking out this in a related community post that answers this:
Let me know if you have any questions.
Thanks,
Rueben