awsdocs / aws-doc-sdk-examples

Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.
Apache License 2.0
9.6k stars 5.63k forks source link

Swift: Add Sign In With Apple example #6927

Closed shepazon closed 1 month ago

shepazon commented 1 month ago

This PR adds an example SwiftUI application demonstrating how to use Sign In With Apple to authenticate with AWS using an account number and IAM role. Once authenticated, the user's S3 buckets are presented in a list. Account and user information is stored in the Keychain using Auth0's SimpleKeychain package.

To run this application, you need to configure the app with the ID "com.example.buckets" on an Apple Developer account, and you need to choose or create an IAM role to use when running the example.

This example will be embedded in part into a section in the AWS SDK for Swift Developer Guide that covers the topic of using Sign In With Apple for AWS authentication. That content is in the process of being written now.

This application is compatible with macOS, iOS, and iPadOS.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

shepazon commented 1 month ago

This should now be good to merge.