How to set custom redirect_uri for Credential Reset Action Token

If a “CredentialResetEmail” containing a “ResetActionToken” is sent to a user. How can we define a custom redirect_uri which is called after the ActionTokenTask is done by the user?