Instead of popping a window I don't know why you couldn't load the
Twitter authorization page into an IFrame, but the message to "close
this window" may be a bit confusing to the user.
This flow is the same as a desktop application has to use to accomplish
an OAuth connection and should work the similarly well with a web
application.
Josh
I want to add one comment on this. If you can IFRAME it, you can
click-jack it using the opacity, z-index, some CSS positioning tricks.
Allowing the 'Yes, I want free porn' button to auto-authorize
someone's app to post as a user is a Bad Thing™. I saw the popup flow
from Brooks and that seems like a much better choice.
Thanks;
— Matt