Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. But i want to implement instagram login with AWS Cognito. 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. Please let me know which one will work for INSTAGRAM login in rest of the three provider OpenID, SAML and Custom. And how to implement it??

like image 575
Vinay Nation Avatar asked Oct 25 '17 13:10

Vinay Nation


1 Answers

Unfortunately there is no out of box support for Instagram, so your best bet is to setup Instagram as Custom provider. 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. That id can then be used as developer user identifier in GetOpenIdTokenForDeveloperIdentity to get Cognito Identity Id and Token.

like image 190
patanjal Avatar answered Sep 28 '22 09:09

patanjal