Single sign-on (SSO) Service
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.
 
 
 
Ruben Meyer 5eeee38bbf
web - fix logout while MFA request
3 months ago
bin web - fix logout while MFA request 3 months ago
res/web web - add mfa-support 4 months ago
.gitignore git - ignore files in .notes 1 year ago
README.md git - more specific README.md 1 year ago
app.js web,prometheus - initial support 1 year ago
package.json web - add mfa-support 4 months ago

README.md

auth.rxbn.de - Single sign-on (SSO) Service

Single sign-on authentication service for rxbn.de services

Environment variables

  • DB_URL := MongoDB Connection URI String Format, ex.: mongodb://mongoDBUser:mongoDBPassword@localhost:27017/admin
  • DB_NAME := MongoDB Database, ex.: authRxbn
  • SESSION_KEY := SessionKey to encrypt sessions
  • COOKIE_KEY := CookieKey to encrypt cookies
  • PROMETHEUS_USER := PrometheusUser for basic authentication on prometheus endpoints, ex.: test
  • PROMETHEUS_PW := PrometheusPassword for basic authentication on prometheus endpoints, ex.: test

start server

regular

$ DB_URL="mongodb://user:pass@ip:port/authdb" DB_NAME="authRxbn" SESSION_KEY="32byteHexString" COOKIE_KEY="32byteHexString" PROMETHEUS_USER="authUsername" PROMETHEUS_PW="authPassword" node app.js

debug

$ DB_URL="mongodb://user:pass@ip:port/authdb" DB_NAME="authRxbn" SESSION_KEY="32byteHexString" COOKIE_KEY="32byteHexString" PROMETHEUS_USER="authUsername" PROMETHEUS_PW="authPassword" NODE_ENV=debug node app.js