Confirmed the fix for GitHub (thanks to @simon.cossar earlier today) but we determined that the Twitter error is Discourse’s bug. And it sounds like the fix may be that that Associated Accounts section shouldn’t even be shown when single sign-on (SSO) is enabled, as it is for us.