mirror of
https://github.com/Radarr/Radarr
synced 2025-12-06 08:28:50 +01:00
New: SSO goes straight to authentication provider
This commit is contained in:
parent
a29d794cbe
commit
455aca85bd
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)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ public StaticResourceController(IEnumerable<IMapHttpRequestsToDisk> requestMappe
|
|||
[AllowAnonymous]
|
||||
[HttpGet("login")]
|
||||
[HttpGet("login/failed")]
|
||||
[HttpGet("login/sso")]
|
||||
[HttpGet("login/sso/failed")]
|
||||
public IActionResult LoginPage()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue