module
Version:
v0.0.0-...-135feef
Opens a new window with list of versions in this module.
Published: Nov 11, 2020
License: MIT
Opens a new window with license information.
README
¶
Cognito Auth Service
Auth service built using Go in AWS Cognito. To use this repository as your auth service, your Cognito User Pool must follow this configurations.
Available Functionalities
- 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
Exposed APIs
- 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
Run The Server Without Build For Development
AWS_PROFILE={profile} AWS_REGION={region} USER_POOL_ID={user-pool-id} APP_CLIENT_ID={app-client-id} go run cmd/main.go
Click to show internal directories.
Click to hide internal directories.