public ActionResult Callback() { var keycloakManager = new WebManager(settings); var userInfo = keycloakManager.Callback(Request); if (userInfo != null) { return(View(userInfo)); } else { return(RedirectToAction("CallbackError")); } }