Return url in v2 SDK

Hi, how do we keep track of the original url that client requested. Currently, I am only able to redirect the client back to the default Deafult.aspx page after MFA authentication. I wanted to know, how can I send them back to the original URL they requested.

The reason I am asking this because in the MFARequest.aspx when the authentication request is sent to Duo security using the following call, then there is no place in it where I can supply the returnURL.

Duo.Web.SignRequest(ikey, skey, akey, userName);

After the above call returns control to MFSResponse.aspx, I need to know the returnURL to redirect response.

Thank you.

Nevermind :slight_smile:

I got it resolved using the