Apple ID through OAuth?

我是研究僧i 提交于 2019-12-22 03:47:53

问题


I was using Facebook login and other 3rd Party login in mobile game based on the way that,

  1. client integrates Native Facebook SDK (or other native sdk)
  2. client login and get OAuth access token
  3. client pass access token to server side and server makes a server-side authentication to Facebook
  4. if server side get FB Uid, then based on it creates an account or login to existing account for the user.

My question is, in order to free user from login to service every time, is it possible to directly use Apple ID on the device for such flow of authentication? What about Android and Google ID? Or other type of solutions I should look into?


回答1:


I know the question is old, but it's one of the first that get get listed when searching for "apple oauth"...

Apple has anounced at the WWDC 2019 a new feature called Sign in with Apple which allows you to use oauth for apple logins like facebook, twitter, google etc. Developer resources can be found here and a good introduction here.




回答2:


————- update: ————————————————

We now have Sign-In with Apple: https://developer.apple.com/sign-in-with-apple/

—————— old version —————————————

For apple user accounts there is no oAuth 'ID'-provider

https://discussions.apple.com/thread/6594633?start=0&tstart=0 https://en.m.wikipedia.org/wiki/List_of_OAuth_providers

My personal opinion about that fact is the following. Apple wants to sell hardware. If software is needed to support that, they implement or buy it.

Apple might be wrong, as web apps are integrating Facebook, Google, Twitter, Windows Live and sometimes Weibo, LinkedIn or Amazon oAuth. I never heard about plans for oAuth for Apple ID.



来源:https://stackoverflow.com/questions/15171174/apple-id-through-oauth

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!