I am planning to add login features with social logins
For e.g) INSTAGRAM.
Can i able to authenticate the app using instagram in aws cognito.
Hello nihp,
As per the documentation on this page: https://docs.amplify.aws/lib/auth/social/q/platform/js you should be able to add authentication via amplify add auth with Federate using social OAuth2.0.
I am currently working on recreating this and will get back to you 馃憤
@evcodes Thanks for your reply.
@evcodes
But I found some related threads in SO refer here1 here2
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.
Federated signi is available only for Auth.federatedSignIn({provider: 'Facebook'})} Auth.federatedSignIn({provider: 'Google'})}. Can I able to pass the provider as Instagram here?
@mauerbac Kindly re-open this ticket. There is no updates regarding INSTAGRAM login in any docs. Need to give an exact solution for this.
Updated @nihp
hey guys,
Was anyone able to achieve an Instagram federated login for Cognito?
Still nothing here? Would love to use Instagram + Amplify
Most helpful comment
Hello nihp,
As per the documentation on this page: https://docs.amplify.aws/lib/auth/social/q/platform/js you should be able to add authentication via amplify add auth with Federate using social OAuth2.0.
I am currently working on recreating this and will get back to you 馃憤