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 0a7672adcf
continuous-integration/drone/tag Build is passing Details
Add support for multiple verifiers
2 years ago
cmd/microauth2sqld Add support for multiple verifiers 2 years ago
docker/microauth2sqld Add CACHEBUST, upgrade router 2 years ago
docs Initial commit 2 years ago
internal Use jo-micro/components 2 years ago
plugins Add support for multiple verifiers 2 years ago
shared Move ReflectFunctionName to sutil, no more internal/ in plugins 2 years ago
.drone.yml Fix drone CI 2 years ago
.env.sample Rename env vars MICRO_AUTH2_ -> AUTH2_ 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 CACHEBUST, upgrade router 2 years ago
component.go Rename env vars MICRO_AUTH2_ -> AUTH2_ 2 years ago
docker-compose.yml Rename env vars MICRO_AUTH2_ -> AUTH2_ 2 years ago
env.sh BIg commit to make it actualy working 2 years ago
go.mod Add CACHEBUST, upgrade router 2 years ago
go.sum Add CACHEBUST, upgrade router 2 years ago
noop.go Add support for multiple verifiers 2 years ago
plugin.go Add support for multiple verifiers 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