asp.net - Membership.OpenAuth with Twitter works but keeps asking to Authorize App -
i using asp.net forms (not mvc) along out of box templated solution logging using facebook, twitter, etc (all wrapped in microsoft.aspnet.membership.openauth).
everything seems working fine except 1 thing: every time user logs in twitter, being redirected twitter , asked authorize application. regardless of whether have done (i.e. user logins first time, authorizes against twitter app, redirected our site perfectly. log out, , go log in again, , re-prompted authorize. application shows in list of approved apps under user's twitter account.
i have ready places people having similar problems, not using microsoft libraries. seem point using different url when launching twitter, however, don't seem able find level of granularity ms libraries.
has been able reproduce/solve issue using these libraries? not intimately familiar how works, notice dotnetopenauth part of references. if library feeding membership.openauth classes, perhaps there update need? dotnetopenauth.oauth version shows 4.1.0.0 , runtime version if v.4.0.30319.
thanks, j
i had same problem. i'm using following connect twitter:
oauthwebsecurity.registertwitterclient(key, secret)
and using latest openauth 4.3.0.0
login works ok, keeps asking authorize app each time.
turned out in twitter app settings did not have following ticked
allow application used sign in twitter
when ticked this, normal oauthwebsecurity.registertwitterclient() worked fine