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:
@@ -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)
|
||||
|
||||
@@ -26,7 +26,6 @@ namespace Radarr.Http.Frontend
|
||||
[AllowAnonymous]
|
||||
[HttpGet("login")]
|
||||
[HttpGet("login/failed")]
|
||||
[HttpGet("login/sso")]
|
||||
[HttpGet("login/sso/failed")]
|
||||
public IActionResult LoginPage()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user