问题
I'm trying to add external login with template from MVC5, Web API2 with method
Task<IHttpActionResult> AddExternalLogin(AddExternalLoginDTO model)
The method need only one parameter ExternalAccessToken - token from FB, Google, ...
But ticket for some user data is still null
AuthenticationTicket ticket = AccessTokenFormat.Unprotect(model.ExternalAccessToken);
Where is the problem?
来源:https://stackoverflow.com/questions/24782969/how-to-add-external-login-in-net-web-api-2