简体   繁体   中英

Azure Mobile App Service Twitter Authentication iOS 9

We have a Azure mobile app service that uses Twitter authentication. we also have a native swift iOS app that consumes the service. If I run the app on the simulator without the official Twitter app installed then everything is cool and works well, the authorise page is shown, enter details and redirection then takes places as per the Mobile sign in flow.

However when I run this on the device with the Twitter app installed, I enter my details on the authorise page, I tap sign in, the Twitter app is then launched, this then opens up Safari and and I get the something went technically wrong page.

I've tried several different things, I've disabled App Transport Security thinking it might be that, I implemented client-redirection authentication only to find that Twitter is not supported.

I've searched for a couple of days now and can't find anyone else having the issue. Is it me? or has something gone a bit wonky?

Thanks

Dan

In case it helps anyone out there I have just received this info from a nice chap at Microsoft: -

The core issue is that by default Katana (used for login) redirects to twitter.com for oauth and not api.twitter.com, which causes the Native Twitter app (in iOS 9) to intercept it and think its a request to open content in Twitter. MobileApps will get a fix for this in the next week or so, as it rolls out new auth changes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM