Additional resources for web identity federation
The following resources can help you learn more about web identity federation:
-
Amazon Cognito Identity in the Amazon Mobile SDK for Android Developer Guide and Amazon Cognito Identity in the Amazon 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 Amazon. -
The entry Web Identity Federation using the Amazon SDK for .NET
on the Amazon .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 Amazon SDK for iOS
and the Amazon 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.