mirror of
https://github.com/Radarr/Radarr
synced 2025-12-27 10:45:44 +01:00
New: SSO goes straight to authentication provider
This commit is contained in:
parent
18fc1413c3
commit
669b50dc72
2 changed files with 1 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ public AuthenticationController(IAuthenticationService authService, IConfigFileP
|
|||
}
|
||||
|
||||
[HttpPost("login")]
|
||||
[HttpGet("login/sso")]
|
||||
public Task LoginLogin([FromForm] LoginResource resource, [FromQuery] string returnUrl = "/")
|
||||
{
|
||||
if (_configFileProvider.AuthenticationMethod == AuthenticationType.Forms)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ public StaticResourceController(IEnumerable<IMapHttpRequestsToDisk> requestMappe
|
|||
[AllowAnonymous]
|
||||
[HttpGet("login")]
|
||||
[HttpGet("login/failed")]
|
||||
[HttpGet("login/sso")]
|
||||
[HttpGet("login/sso/failed")]
|
||||
public async Task<IActionResult> LoginPage()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue