C#C
C#2y ago
Alex

✅ Challenge does not redirect

        [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);
        }


What can be the reason?
Was this page helpful?