Skip to content

MhmdRyhn/cognito-auth-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Auth service built using Go Lang in AWS Cognito

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages