SSO is a microservice on Go that implements a basic user authentication system. The service is designed for centralized management of registration, login, token verification, and session management.
Registration of new users
Authentication using Login and Password
Generation and Validation of JWT Tokens
Interaction with other services via gRPC and protobuf
Support for database migrations
Convenient project structure for expansion\
Download repository using command below:
git clone https://github.com/spookysploit/sso.git
Open the repository:
cd ./sso
Download dependencies:
go mod tidy
Make DB Migrations:
make migrate
Launch command:
go run ./cmd/sso/main.go
Service will be avaliable at:
localhost:4444
Available functions:
Register -> Register new Users
Login -> Login to application using email and password
IsAdmin -> Check whether user is admin