I\'m working on a wrapper for the .net version of the Google Calendar API. The authentication is rather simple and working fine locally (localhost:port).
UserCr
First of the all: See Google MVC tutorial
Step by step
1) Create method in your controller:
public async Task Test()
{
//your code
}
2) Create controller :
public class AuthCallbackController : Google.Apis.Auth.OAuth2.Mvc.Controllers.AuthCallbackController
{
protected override Google.Apis.Auth.OAuth2.Mvc.FlowMetadata FlowData
{
get { return new AppFlowMetadata(); }
}
}
3) Configure Google Console