This project demonstrates how to use the AWS SDK and Cognito to create sign-up and login functionality in your Unity project.
While this video demonstrates how to make calls from the game client through the AWS SDK, it is NOT best practice. Calls should go through some form of authentication like through an API Gateway Authorizer, then on to a Lambda function, for example, that performs the API calls after authorization. See my other video that demonstrates this: https://youtu.be/lzQ2rLqlqyk
Note: this is not a production ready implementation, but more of a jumping-off point to help you get started on your project.
- [How to download and install AWS SDK] https://youtu.be/rUAhtlD-wXg?t=54
- [AWS SDK Download link] https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-install-assemblies.html#download-zip-files
- [CognitoAuthentication SDK Extension Library] https://github.com/aws/aws-sdk-net-extensions-cognito
- download project and build in Visual Studio to get DLL for project
- example code: https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/cognito-authentication-extension.html
- [Additional Packages] https://youtu.be/rUAhtlD-wXg?t=108
- Follow instructions in GitHub issue: aws/aws-sdk-net#1684 (comment)
[Discord] https://discord.gg/psjbBDvNBK
[Twitter] https://twitter.com/BatteryAcidDev