[英]How to make instagram login with AWS Cognito Federated Identities
I am trying to implement social media login with AWS Cognito (Mobile services)for iOS app.AWS directly supports login with Amazon, Facebook, Google+ and Twitter.我正在尝试使用适用于 iOS 应用程序的 AWS Cognito(移动服务)实现社交媒体登录。AWS 直接支持使用 Amazon、Facebook、Google+ 和 Twitter 登录。 But i want to implement instagram login with AWS Cognito.
但我想使用 AWS Cognito 实现 instagram 登录。 How can I achieve this.
我怎样才能做到这一点。 Please look at the Screen Shot , In the screen shot you will see provider sections like Amazon,facebook, google and Twitter and the rest of the three are for other.
请查看屏幕截图,在屏幕截图中,您将看到 Amazon、facebook、google 和 Twitter 等提供商部分,其余三个部分用于其他。 Please let me know which one will work for INSTAGRAM login in rest of the three provider OpenID, SAML and Custom.
请让我知道在其余三个提供程序 OpenID、SAML 和自定义中,哪一个适用于 INSTAGRAM 登录。 And how to implement it??
以及如何实施??
Unfortunately there is no out of box support for Instagram, so your best bet is to setup Instagram as Custom provider.不幸的是,Instagram 没有开箱即用的支持,所以最好的办法是将 Instagram 设置为自定义提供商。 Please refer to this doc and blog to learn about setting up custom provider.
请参阅此文档和博客以了解有关设置自定义提供程序的信息。
Basically your app needs to interact directly with Instagram to get Instagram User's unique id.基本上,您的应用程序需要直接与 Instagram 交互以获取 Instagram 用户的唯一 ID。 That id can then be used as developer user identifier in GetOpenIdTokenForDeveloperIdentity to get Cognito Identity Id and Token.
然后,该 ID 可用作GetOpenIdTokenForDeveloperIdentity 中的开发人员用户标识符,以获取 Cognito 身份 ID 和令牌。
你可以看看auth0 ,也许这符合你的要求。
The instagram has stopped supporting authentication. Instagram 已停止支持身份验证。 You can use Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts.
您可以使用 Instagram Basic Display API 允许您的应用程序用户在他们的 Instagram 帐户中获取基本的个人资料信息、照片和视频。
Check below links -检查以下链接 -
1) https://developers.facebook.com/docs/instagram-basic-display-api 2) https://www.instagram.com/developer/ 1) https://developers.facebook.com/docs/instagram-basic-display-api 2) https://www.instagram.com/developer/
They mentioned, "Authentication — Instagram Basic Display is not an authentication solution. Data returned by the API cannot be used to authenticate your app users or log them into your app. If you need an authentication solution we recommend using Facebook Login instead".他们提到,“身份验证——Instagram Basic Display 不是身份验证解决方案。API 返回的数据不能用于验证您的应用用户或将他们登录到您的应用中。如果您需要身份验证解决方案,我们建议您改用 Facebook 登录”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.