OAuth redirect fails after toggling to OpenID (BB-1829)
Hi! We are sending users to Bitbucket to do authenticate and bring back an OAuth token for use with your API.
If the user toggles to use OpenID instead of the traditional login form, they are redirected to the Bitbucket home page instead of back to us.
tl;dr: the "next" param needs to survive the toggle between OpenID and username/pw.
- Matt at Stack Overflow