OAuth Server for AVENTER hosted Services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Andreas Peters d0060cfa32
remove group env from docker file
2 months ago
static change token to jwt and custom claims 5 months ago
types add user type 3 months ago
.gitignore first commit 5 months ago
Dockerfile remove group env from docker file 2 months ago
LICENSE first in 1 year ago
README.md update readme 5 months ago
avauth.go fix groupadditional check 3 months ago
handler.go add user type 3 months ago
health.go add redis healthcheck 5 months ago
main.go fix groupadditional check 3 months ago
srvhandler.go refactoring 5 months ago
token.go add user type 3 months ago

README.md

go-avauth-oauth2

This is a oauth2 provider that use the aventer backend systems to authenticate. To be honest, it makes no sense for other peoples to use it, but I think it’s a interesting starting point for the own oauth2 project. So, feel free and have a look around.

How to use

This OAuth provider need the folowing information as environment variable.

export AUTH_SERVER=https://<AUTH SERVER>
export CLIENTDOMAIN=
export CLIENTID=
export CLIENTSECRET=
export GROUP=<USER GROUP>
export IDENTIFIER=
export JWT_SIGNKEY=<A VERY STRONG AND LONG PHRASE>
export LOGLEVEL=<debug|warn|info>
export REDIS_SERVER=<REDIS_SERVER>:6379

go run main.go