Remember ReturnUrl query parameter from SignIn page

Remember ReturnUrl query parameter from SignIn page and redirect back to that page after an AuthnResponse
Is it possible to use Uri.TryCreate instead? It handles relative Uris better than raw string formatting.