Register and Authenticate with Amazon Cognito User Pools.
The API was build using C# .Net Core 6.0.
Prerequisite
- Need to have an AWS account
- Create a User Pool in cognito service
Register
Register a user in aws cognito
post /api/account/register
A verification code will be sent to your email.
ActivateEmail
Activates the user.
post /api/Account/ActivateCode/{code}/{email}
Write the code and the email to Enable the account.
Login
post /api/Account/Login
Login with email and password.