New: SSO goes straight to authentication provider

zeus
Robin Dadswell 1 year ago committed by Qstick
parent 18fc1413c3
commit 669b50dc72

@ -23,6 +23,7 @@ namespace Radarr.Http.Authentication
}
[HttpPost("login")]
[HttpGet("login/sso")]
public Task LoginLogin([FromForm] LoginResource resource, [FromQuery] string returnUrl = "/")
{
if (_configFileProvider.AuthenticationMethod == AuthenticationType.Forms)

@ -27,7 +27,6 @@ namespace Radarr.Http.Frontend
[AllowAnonymous]
[HttpGet("login")]
[HttpGet("login/failed")]
[HttpGet("login/sso")]
[HttpGet("login/sso/failed")]
public async Task<IActionResult> LoginPage()
{

Loading…
Cancel
Save