Auth service built using Go in AWS Cognito. To use this repository as your auth service, your Cognito User Pool must follow this configurations.
- User self signup
- Confirm signup
- Admin create user
- Force change password when user is created by admin
- Signin
- Get new Id-Token and Access-Token uaing Refresh-Token
- Reset password
- Change password staying signed in
- Admin delete user
- Create user group
- Admin add user to group
- Delete user group
- Admin remove user from group
- Sign Up -
/auth/signup
- Confirm Sign Up -
/auth/confirm-signup
- Sign In -
/auth/signin
- Refresh Token Auth -
/auth/refresh-token-auth
- Forgot Password -
/auth/forgot-password
- Confirm Forgot Password -
/auth/confirm-forget-password
- Change Password -
/auth/change-password
- Resend Confirmation Code -
/auth/resend-confirmation-code
AWS_PROFILE={profile} AWS_REGION={region} USER_POOL_ID={user-pool-id} APP_CLIENT_ID={app-client-id} go run cmd/main.go