Love LinkToTwitter. Have been using it for a while for Twitter related API calls, and have the auth flow working fine for that scenario.
What I would like to do is create a simple "log in with twitter' button. We already have all their credentials.
I have it working, however every time the user is asked to re-authorize the application. I'd simply like Twitter to authenticate the user and pass back their Twitter credentials (assuming the user has already authorized the app).
I'm sure I'm missing something really basic, but how?
IOAuthCredentials credentials = new SessionStateCredentials();
if (credentials.ConsumerKey == null || credentials.ConsumerSecret == null)
credentials.ConsumerKey = this.twitterConsumerKey;
credentials.ConsumerSecret = this.twitterConsumerSecret;
var auth = new MvcAuthorizer
Credentials = credentials,
if (string.IsNullOrWhiteSpace(credentials.ConsumerKey) ||
//check for our user details using auth.UserId and log them in