Stop Twitter Authorization URL opening in new mobile Safari window


My web app opens in the Twitter native client. When it’s time to authenticate the user, they click on a link, and my server-side code performs the oauth operations. When I issue the redirect to the Twitter OAuth URL, the Twitter native client opens that link in Safari, rather than inside the client.

How can I prevent that behavior? I want all the oauth steps to happen inside the native client.