How to get redirect uri inside custompassword reset page

We are using custom custom password reset page. Where I need to theme the page based on redirect domain. For that I need to get redirect uri/ result url in password reset page.