1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

New: SSO goes straight to authentication provider

This commit is contained in:
Robin Dadswell
2022-12-11 21:54:32 +00:00
committed by Qstick
parent a29d794cbe
commit 455aca85bd
2 changed files with 1 additions and 1 deletions

View File

@@ -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)

View File

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