mirror of https://github.com/Radarr/Radarr
New: SSO goes straight to authentication provider
This commit is contained in:
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…
Reference in New Issue