Skip to content

ystallonne/amazon-cognito-gamelogin-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amazon-cognito-gamelogin-sample

A basic demo of logging in to a game server with Amazon Cognito. The client and server use a socket to communicate a key obtained from Amazon Cognito.

Requirements

Contents

├── GameLoginServer/         # Contains the server project and source code
└── GameLoginClient/         # Contains solution file as well as the client project
    ├── GameLoginClient.sln  # Solution that builds both the client and server
    └── GameLoginClient/     # Contains the client project and source code

Building and using the sample

  1. Create a new Amazon Cognito User Pool through the AWS console. In the app client details be sure to enable "username-password (non-SRP) flow for app-based authentication (USER_PASSWORD_AUTH)".
  2. Modify the ClientSettings.h and ServerSettings.h file. The app client ID will get pasted in the client settings. Make sure the correct AWS region is set in both places.
  3. Run the server application and then any number of clients.

For more information or questions

License Summary

This sample code is made available under the Amazon Software License 1.0. See the LICENSE file.

About

A basic demo of logging in to a game server with Amazon Cognito.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.4%
  • C 0.6%