msa-event-market_service-auth

msa-event-market_service-auth service-auth

service-auth is the service responsible for user management and authentication/authorization in the msa-event-market Project. service-auth follows this considerations

Authentication/Authorization

service-auth uses simple authentication based on ID/Password. A user can get the access token and refresh token based on JWT required for authentication/authorization by entering ID/Password. Passwords are encrypted and stored using the PBKDF2 algorithm.

In JWT token contains the following information.

Used main external packages and tools

service-auth uses following external packages and tools.

Development Environment

Required CLI

// MacOS
$ go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.6.0
$ go install github.com/mikefarah/yq/v4
// MacOS
$ brew install protobuf
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
// MacOS
$ brew install jq
$ brew install mockery
$ go install github.com/fullstorydev/grpcurl/cmd/grpcurl@v1.8.7
$ go install github.com/nektos/act@latest

Reference