Skip to content
Snippets Groups Projects
Commit b55aff3c authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

return url

parent 87a1a9e8
No related branches found
No related tags found
1 merge request!134BREAKING: Migrated login to the new UI
......@@ -147,7 +147,7 @@ namespace Coscine.Api.STS.Controllers
/// <param name="entityId">Specific Identitiy Provider to be redirect to</param>
/// <returns>ChallengeResult</returns>
[Route("[controller]/login")]
public ActionResult Login(string returnUrl, string entityId = null)
public ActionResult Login(string returnUrl = "/", string entityId = null)
{
var provider = "Saml2";
var redirectUrl = Program.MainUrl + "/Shibboleth/callback?returnUrl=" + returnUrl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment