简体   繁体   English

如何使用 AWS Cognito 联合身份登录 instagram

[英]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.

相关问题 如何避免在Cognito Federated Identities中创建未使用的身份 - How to avoid creating unused identities in Cognito Federated Identities AWS Cognito iOS开发人员身份验证身份 - AWS Cognito iOS Developer Authenticated Identities 卓(AWS):如何根据Cognito池正确认证用户并将其用于Cognito联合身份? - AWS: How to properly authenticate a user against Cognito Pool and use it for Cognito Federated Identity? AWS Cognito联合身份池-身份验证角色 - AWS Cognito Federated Identity Pool - Role on Authentication Aws Cognito 社交登录 - Aws Cognito Social login 从联合身份凭证获取 AWS Cognito JWT 令牌 - Get AWS Cognito JWT token from Federated Identity credentials 如何将Cognito用户池与Cognito联合身份池集成 - How to integrate Cognito User Pools with Cognito Federated Identity Pools 如何检查用户是否首次登录 AWS Cognito? - How to check if user login to AWS Cognito for the first time? (iOS) AWS S3 上传失败且没有错误(使用联合身份验证的用户 - Apple SSO) - (iOS) AWS S3 Upload Fails with No Error (User Authenticated Using Federated Identities - Apple SSO) 使用AWS Cognito开发者身份从我的ios应用程序获得对DynamoDB的完全访问权限 - Getting full access to DynamoDB from my ios app using AWS Cognito Developer Identities
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM