Blog Post • Initial Configuration • How To Use • Services • API Call Examples • Contact • Contributing • License
Java Integration with Amazon Cognito
- Add your AWS Credentials at src/main/resources/AwsCredentials.properties
AWS Config - Retrieve Access Key and Secret Key
AWS Credentials - Spring Boot Application
- Add your cognito pool and identity pool data.
AWS Config - Retrieve User Pool ID and Client ID
AWS Config - Retrieve Identity Pool ID
AWS Config Property File - Spring Boot Application
To clone and run this application, you'll need Git, Maven, Java 8. From your command line:
# Clone this repository
$ git clone https://github.com/ihuaylupo/cognitoAuthentication
# Go into the repository
$ cd cognitoAuthentication
# Install dependencies
$ mvn install
# Run the app
$ java -jar target/CognitoAuthentication-0.0.1-SNAPSHOT.jar
My code contains the following services against Amazon Cognito:
- Login
- SignUp
- Sign Up confirmation
- Add User to group
- Delete User
- Sign Out
- Reset Password
- Confirm Reset Password
I'd like you send me an email on [email protected] about anything you'd want to say about this software or you can write me at the blog post. I'd really appreciate it!
Feel free to file an issue if it doesn't work for your code sample. Thanks.
Copyright (c) 2018 Illary Huaylupo Licensed under the MIT license.