Update UserController.cs

This commit is contained in:
geffzhang 2024-02-17 22:16:21 +08:00
parent 7d0038ec74
commit 496528c124

View file

@ -36,9 +36,9 @@ public class UserController : ControllerBase
[AllowAnonymous]
[HttpGet("/sso/{provider}")]
public async Task<IActionResult> Authorize([FromRoute] string provider,string redirecturl)
public async Task<IActionResult> Authorize([FromRoute] string provider,string redirectUrl)
{
return Challenge(new AuthenticationProperties { RedirectUri = redirecturl }, provider);
return Challenge(new AuthenticationProperties { RedirectUri = redirectUrl }, provider);
}
[AllowAnonymous]