public ActionResult Index(){Response.Redirect(url);// return View();return null;}
Now issue in getting Access Token, i used the auth code got in the previous request here as below:https://open-ic.epic.com/argonaut/oauth2/token HTTP/1.1?grant_type=authorization_code&code=0Pwu2BiyAs_I3vt-wqpfGIYxPMiHqn3BPMJ8wFklE9cAQwJVUoX2OsVgbp2JMRODeJu2IShzQTKMK9RC6tLWvgA-Pndksjn-b9R18t9RjGlwDpRSIb5LNzDEVph8CKxD&redirect_uri=http://localhost/PatientMonitor/Patient&client_id=a8e71151-8fdf-41e6-8b22-d0799269de69
string url = "https://open-ic.epic.com/argonaut/oauth2/token HTTP/1.1";
How to get the token? Where we will get the token? I have tried as per your response and but didn't receive any token instead it redirects to MyChart page.