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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | twitter-1710088-auth_no_auth.png | 45.32 KB | xurizaemon |
| #2 | twitter-1710088-auth_no_auth.patch | 8.2 KB | xurizaemon |
| #1 | twitter-1710088-show_authenticated_status.patch | 3.15 KB | xurizaemon |
Comments
Comment #1
xurizaemonShow 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.
Comment #2
xurizaemonNot 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.
Comment #3
juampynr commentedMaybe we could use fieldsets? If not, how about using a checkbox that says 'Do not authenticate'?
Comment #4
dddave commentedstill relevant?
Comment #5
juampynr commentedNot anymore. Now you can add non-authenticated accounts just when you have authenticated one account with OAuth.
Thanks.