asp.net mvc 4 - MVC4 OAuthWebSecurity unknown method RegisterClient after upgrading DotNetOpenAuth to 4.3.0.13117 -
before upgraded using custom oauth clients, after upgrading dotnetopenauth nuget packs error of "unknown method registerclient" when calling oauthwebsecurity.registerclient. worked fine before upgrading, here code snippet.
var extradata = new dictionary<string, object>(); extradata.add("icon", "/../../images/login/google.png"); oauthwebsecurity.registerclient( client: new customgoogleclient(oauthsettings.googleclientid, oauthsettings.googlesecretid), displayname: "google", extradata: extradata);
sorry issues question might have cause, fixed removing dotnetopenauth , reinstalled package.
Comments
Post a Comment