[HttpPost("sign-in/external")]
public IActionResult SignInExternal([FromQuery] string provider ="Google", [FromQuery] string returnUrl = "https://localhost:8080/api/identity/sign-in/google")
{
AuthenticationProperties properties = _identityService.SignInExternal(provider,returnUrl);
return Challenge(properties,provider);
}
[HttpPost("sign-in/external")]
public IActionResult SignInExternal([FromQuery] string provider ="Google", [FromQuery] string returnUrl = "https://localhost:8080/api/identity/sign-in/google")
{
AuthenticationProperties properties = _identityService.SignInExternal(provider,returnUrl);
return Challenge(properties,provider);
}