Change the redirect behaviour so that the the asp.net applcation doesn't attempt to do naughty cors things.
This commit is contained in:
parent
3446e7b19f
commit
37de640317
@ -71,7 +71,7 @@ public class AccountController : ESuiteController
|
||||
{
|
||||
await _cookieManager.DeleteSsoIdCookie(Response);
|
||||
var url = await _singleSignOn.StartSingleSignOn(ssoId.Value, cancellationToken);
|
||||
return Redirect(url);
|
||||
return Ok(new { redirectTo = url });
|
||||
}
|
||||
|
||||
login ??= new Login();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user