Why do I get double signin?

oauth
signin

#1

I am following the sign in process at https://dev.twitter.com/web/sign-in/implementing

However, when running, from a desktop browser, the user needs to login twice,

The second of these is the twitter.com login, which I would expect not to get.

Any idea why this is happening?

Regards,
Rupert