An auth provider for go-micro, it replaces go-micro.dev/v4/auth
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
René Jochum 34fbffdc1e
continuous-integration/drone/tag Build is passing Details
Add Rolegroup ServiceSuperadmin
2 years ago
cmd/microauth2sqld Add RatelimitUser 2 years ago
docker/microauth2sqld BIg commit to make it actualy working 2 years ago
docs Initial commit 2 years ago
internal Upgrade pgx to v5 2 years ago
plugins Improve RouterPlugin 2 years ago
shared Rename AppendFlag->MergeFlag 2 years ago
.drone.yml Fix drone CI 2 years ago
.env.sample Fix .env.sample 2 years ago
.gitignore BIg commit to make it actualy working 2 years ago
LICENSE Initial commit 2 years ago
README.md Add a WIP info to the README. 2 years ago
Taskfile.yml Add more infos to the keys task 2 years ago
docker-compose.yml Add podman-compose, fix registered routes 2 years ago
env.sh BIg commit to make it actualy working 2 years ago
go.mod Add RatelimitUser 2 years ago
go.sum Add RatelimitUser 2 years ago
noop.go Improve RouterPlugin 2 years ago
options.go Use InitOptions for all plugins, fix plugins/router/jwt header forwarding 2 years ago
plugin.go Improve RouterPlugin 2 years ago
registry.go Use InitOptions for all plugins, fix plugins/router/jwt header forwarding 2 years ago
roles.go Add Rolegroup ServiceSuperadmin 2 years ago
user.go BIg commit to make it actualy working 2 years ago

README.md

Build Status Go Reference

auth2

An auth provider for go-micro, it get's users from a postgres database, in the future maybe from other SQL Databases supported by bun as well.

It registers itself with router, if you use it in your stack.

THIS IS WORK IN PROGRESS

Everything in here may change without backward compatiblity until we reach v1.0.0. You also might except bugs or half-implemented stuff.

JWT Token Auth

Generate keys

task keys

Developers corner

Build podman/docker image

Prerequesits

Build

task

Remove everything

task rm

Authors

License

Its dual licensed:

  • Apache-2.0
  • GPL-2.0-or-later