Need a sample for AWS cognito login with Federated identity( FaceBook, Google and Twiter)- iOS - Objective-C

We need WORKING sample for social networking login with AWS cognito for mobile app. Currently, we are using social network login such as Google, FaceBook and Twitter.

We want to use identity pool ( not user pool) to provide access to AWS resources such as S3 and DynamoDB using identity provider Google, FaceBook and Twitter. Google is configured as OpenID provider.

Note: If you need to associate more than one Google Client ID to this Identity Pool (e.g. you want to enable login with Google from both iOS and Android apps, which need different IDs), you will have to set up Google as an OpenID provider from the IAM Console by following the instructions in OpenID Connect Providers in the Cognito Developer Guide.


Here is the documentation from AWS:

[login to view URL]

iOS - Objective-C

To add Facebook authentication, first follow the Facebook guide to integrate the Facebook SDK into your application. Then add a Login with Facebook button to your user interface. The Facebook SDK uses a session object to track its state. Amazon Cognito uses the access token from this session object to authenticate the user and bind them to a unique Amazon Cognito identity pools (federated identities).

To provide the Facebook access token to Amazon Cognito, implement the AWSIdentityProviderManager protocol.

In the implementation of the logins method, return a dictionary containing AWSIdentityProviderFacebook as the key and the current access token from the authenticated Facebook user as the value, as shown in the following code example.

- (AWSTask<NSDictionary<NSString *, NSString *> *> *)logins {

FBSDKAccessToken* fbToken = [FBSDKAccessToken currentAccessToken];


NSString *token = [login to view URL];

return [AWSTask taskWithResult: @{ AWSIdentityProviderFacebook : token }];


return [AWSTask taskWithError:[NSError errorWithDomain:@"Facebook Login"


userInfo:@{@"error":@"No current Facebook access token"}]];



When you instantiate the AWSCognitoCredentialsProvider, pass the class that implements AWSIdentityProviderManager as the value of identityProviderManager in the constructor. For more information, go to the AWSCognitoCredentialsProvider reference page and choose initWithRegionType:identityPoolId:identityProviderManager.


Taidot: Amazon Web Services, Mobile App Development, iPhone, Objective C, Swift

Näytä lisää: need sample data processing test, session login iframe net facebook, need sample project php mysql, need email paypal admin login online, need sample medical transcribed transcript, login post curl facebook, need sample commercial script radio, need sample contract bulk email marketing business, need sample clothing line, research paper look need sample copy, need sample business plan printing company, contact form login facebook google, need sample template write bio, need sample data practice excel, hosting wedding need sample scripts, air sample code website login, login form automation facebook, need sample tri fold display looks, need someone create client login upload, sample form application login vbnet

Tietoa työnantajasta:
( 15 arvostelua ) Dublin, United States

Projektin tunnus: #21562353

2 freelanceria on tarjonnut keskimäärin 28$ tähän työhön


Hello my name is Nikos and Im working on the Linux server administration field for the past 6 years. Over these years I worked for two web hosting companies as a Senior Administrator managing their servers & providing Lisää

$40 USD 1 päivässä
(7 arvostelua)

hello I'm interested in your project can we chat? I'm native iOS developer with 4 years of commercial experience, also can send you my cv and previous works

$15 USD 1 päivässä
(1 arvostelu)