Add returnURL for user menu actions #14778
Added _configuration["App:SelfUrl"]
as returnUrl for Account/Manage
and Account/SecurityLogs
pages. That's necessary to return to the source application in a tiered setup. I fixed it for app-pro startup template.
Example:
var returnUrl = _configuration["App:SelfUrl"] ?? "";
$"{authServerUrl.EnsureEndsWith('/')}Account/Manage?returnUrl={returnUrl}"