GoAuth2 ui Installation - Ulbora/GoAuth2 GitHub Wiki

Installing GoAuth2-ui

Docker Installation

If you would like to run on Docker:

docker pull ulboralabs/goauth2-ui

OR

Compile GoAuth2-ui

  1. Run build.sh if you are on a Linux compile on other systems
  2. Copy the following to where you want to run GoAuth2-ui
    • main file
    • static folder

Set Environment Variables

  • AUTH_CLIENT_ID (Management Client ID)
    • when not set, defaults to: 10
  • AUTH_CLIENT_SECRET (Management Client Secret)
    • when not set, defaults to secret in database sql: jhcy2YGrvgDsm4VRVtUESiI96K65gQeXcA2TQCJYZW0J1cYLio
  • GOAUTH2_HOST (GoAuth2 URL)
  • USER_HOST (User Proxy URL)
  • SCHEME_DEFAULT (Default Scheme in none is found)
    • when not set, defaults to: http://
  • PORT (Default port for web application)
    • when not set, defaults to: 8091
  • LOGGING_KEY (key for access to log lever REST service)
    • when not set, defaults to: 45sdbb2345

Run GoAuth2-ui

  1. Run ./main to start GoAuth2-ui on port 8091 by default
  2. Launch browser on: http://localhost:8091/

OR

  1. On Docker, ./main runs automatically
  2. Launch browser on: http://installURL:8091/