Skip to content

Commit

Permalink
decode zipped return-url before redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
hoseinzadehashraf committed May 9, 2024
1 parent 19c535c commit c93fee5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Olive.Microservices.Hub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Authors>Geeks Ltd</Authors>
<RepositoryUrl>https://github.com/Geeksltd/Olive.Microservices.Hub/tree/master/Olive.Microservices.Hub</RepositoryUrl>
<PackageIcon>icon.png</PackageIcon>
<Version>1.5.43</Version>
<Version>1.5.44</Version>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<Nullable>warnings</Nullable>
Expand All @@ -26,7 +26,7 @@
<ItemGroup>
<PackageReference Include="AppContentService.HubApi" Version="180720.11.4435" />
<PackageReference Include="EmailService.SendEmailCommand.EventBusCommand" Version="191220.12.2936" />
<PackageReference Include="FS.Shared.Website" Version="1.1.11.47" />
<PackageReference Include="FS.Shared.Website" Version="1.1.11.48" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="6.0.28" />
<PackageReference Include="NuGet.CommandLine" Version="6.9.1">
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 1 addition & 1 deletion Views/Pages/SSO.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
function waitTime() { if (screen.width < 500) return 3000; else return 1000; }
// Redirect
setTimeout(function() { window.location.href='@Microservice.Me.GetHubUrl(Request.GetReturnUrl())' }, waitTime())
setTimeout(function() { window.location.href='@Microservice.Me.GetHubUrl(Url.ReturnUrl())' }, waitTime())
</script>

0 comments on commit c93fee5

Please sign in to comment.