Update UserController.cs
This commit is contained in:
parent
7d0038ec74
commit
496528c124
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue