public async Task <IActionResult> Get([FromRoute] string provider, [FromQuery] string codeChallenge, [FromQuery] string state) { m_logger.LogDebug($"Open id connect sign-in with {provider}\nstate;{state}\nchallenge{codeChallenge}"); return(Redirect( await m_oAuthService.RedirectToAuthentication(Enum.Parse <AuthenticationProvider>(provider, true), codeChallenge, state))); }