With OAuth turned *off*, we let people add Twitter accounts to follow without authenticating as that account. But not if OAuth is configured.

By adding an "authenticated" property to TwitterUser we can pick up which mode the account is operating.

Comments

xurizaemon’s picture

Show whether the account is authenticated or not. Just checks if oauth secret is populated or not and sets authenticated propert in TwitterUser. Displays on twitter_account_list_form.

xurizaemon’s picture

Not sure about how to present two "add account" buttons in close proximity. This looks kinda bung, but it works. The validate functions are a bit lopsided.

juampynr’s picture

Maybe we could use fieldsets? If not, how about using a checkbox that says 'Do not authenticate'?

dddave’s picture

Version: 7.x-3.x-dev » 7.x-6.x-dev

still relevant?

juampynr’s picture

Status: Needs work » Closed (won't fix)

Not anymore. Now you can add non-authenticated accounts just when you have authenticated one account with OAuth.

Thanks.