go-micro-auth

command module
v0.0.0-...-1951922 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2017 License: MIT Imports: 6 Imported by: 0

README

go-micro-auth

Build Status

Authentication microservice in Go lang

Service configuration

Authentication microservice is using Consul as a service discovery. Consul is also a default configuration source.

Command line options to define configuration:

  • -config [consul|file] or -config=[consul|file]
  • -config_path path/to/service.cfg or -config_path=path/to/service.cfg (used only in case of file config)

Configuration on Consul

There are the following keys used:

  • auth/config/jwssecret - signing key value for JWT(JWS) signing
  • auth/config/jwtttl - default TTL of the token

File configuration

There are the following keys used:

  • jwssecret - signing key value for JWT(JWS) signing
  • jwtttl - default TTL of the token

Please check service.cfg for config file example

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
handler
proto
auth
Package go_micro_srv_auth is a generated protocol buffer package.
Package go_micro_srv_auth is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL