We have following workflow for services like twitter and facebook:
- User clicks “Post” button.
- We obtain auth url on server
- We send to client auth url
- Client opens auth url in standard javascript popup window
- Client authorizes and returns by callback url
- On callback url we interacting with social service.
We have big troubles with step 4 on mobile phones.
Standard javascript popups not working on mobile. What alternatives we can use for external auth urls?
UPD Temporary solution is to generate auth links as anchors and place them in document.
It solves problem, but we want better UX.
I am using jquery mobile popup for this mobile sites and it also look perfect desktop browser also. I hope you use callback like these(well i use something like this)
In the callback function you can use those popup like
you should have a div with id somepopup in your document and all this works fine if you implement jquery mobile. I hope this helps.