AWS Identity and Access Management
User Guide

Additional Resources for Web Identity Federation

The following resources can help you learn more about web identity federation:

  • Amazon Cognito Identity in the AWS Mobile SDK for Android Developer Guide and Amazon Cognito Identity in the AWS Mobile SDK for iOS Developer Guide.

  • The Web Identity Federation Playground is an interactive website that lets you walk through the process of authenticating via Login with Amazon, Facebook, or Google, getting temporary security credentials, and then using those credentials to make a request to AWS.

  • The entry Web Identity Federation using the AWS SDK for .NET on the AWS .NET Development blog walks through how to use web identity federation with Facebook and includes code snippets in C# that show how to call AssumeRoleWithWebIdentity and how to use the temporary security credentials from that API call to access an S3 bucket.

  • The AWS SDK for iOS and the AWS SDK for Android contain sample apps. These apps include code that shows how to invoke the identity providers and then how to use the information from these providers to get and use temporary security credentials.

  • The article Web Identity Federation with Mobile Applications discusses web identity federation and shows an example of how to use web identity federation to get access to content in Amazon S3.