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 0c64530f38
add redis healthcheck
1 month ago
static change token to jwt and custom claims 1 month ago
types refactoring 1 month ago
.gitignore first commit 1 month ago
Dockerfile first in 11 months ago
LICENSE first in 11 months ago
README.md update readme 1 month ago
avauth.go change token to jwt and custom claims 1 month ago
handler.go refactoring 1 month ago
health.go add redis healthcheck 1 month ago
main.go add redis healthcheck 1 month ago
srvhandler.go refactoring 1 month ago
token.go change token to jwt and custom claims 1 month 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