Amplify-js: Document Amplify Auth for Login with Instagram

Created on 23 Jul 2020  路  6Comments  路  Source: aws-amplify/amplify-js

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.

Auth Service Team feature-request

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 馃憤

All 6 comments

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.

https://stackoverflow.com/questions/46934013/how-to-make-instagram-login-with-aws-cognito-federated-identities

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

karlmosenbacher picture karlmosenbacher  路  3Comments

TheRealRed7 picture TheRealRed7  路  3Comments

callmekatootie picture callmekatootie  路  3Comments

DougWoodCDS picture DougWoodCDS  路  3Comments

simon998yang picture simon998yang  路  3Comments