Фикс
This commit is contained in:
@ -148,7 +148,7 @@ public class UsersController : ControllerBase
|
||||
[HttpGet("signin-google")]
|
||||
public IActionResult SignInWithGoogle()
|
||||
{
|
||||
var properties = new AuthenticationProperties { RedirectUri = Url.Action("SignInWithGoogleCallback") };
|
||||
var properties = new AuthenticationProperties { RedirectUri = Url.Action(nameof(SignInWithGoogleCallback)) };
|
||||
return Challenge(properties, GoogleDefaults.AuthenticationScheme);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user