I am trying to use OAuth 2.0 with my Asp.net Mvc 5 application with salesforce.
How can I get access token in controller action on authorization like -
[Authorize]
public ActionResult getToken()
{
// I want to get my access token here using some thing like this .
String token = GetOwinContext().GetToken();
}
ClaiminIdentityobject. The following link shows all steps stackoverflow.com/questions/48931314/…