Hi everyone!
I'm using asp.net with url rewrite.
Inside Page Load I have the following code:
OpenIdLogin1.ReturnToUrl = @"~/Login"
When I log in and return to calling page, I get the following error message:
Login failed: The openid.return_to parameter (http://localhost:12345/Login?dnoa.receiver=ctl00_phContent_ctl00_OpenIdLogin1&dnoa.UsePersistentCookie=Session&dnoa.userSuppliedIdentifier=https://www.google.com/accounts/o8/id) does not match the actual URL (http://localhost:12345/Templates/Pages/Login/Login.aspx?dnoa.receiver=ctl00_phContent_ctl00_OpenIdLogin1&dnoa.UsePersistentCookie=Session&dnoa.userSuppliedIdentifier=https://www.google.com/accounts/o8/id&openid.ns=http://specs.openid.net/auth/2.0)
How can I change actual url to virtual url?
Any help would be appreciated.