ListenAddr: ':8080' # Consists of 'IP:Port', e.g. ':8080' listens on any IP and on Port 8080 BaseURL: 'http://localhost:3000' # Origin URL, required for the authentication via OAuth Backend: boltdb # Can be 'boltdb' or 'redis' RedisHost: localhost:6379 # If using the redis backend, a host:port combination RedisPassword: replace me # if using the redis backend, a conneciton password. DataDir: ./data # Contains: the database and the private key EnableDebugMode: true # Activates more detailed logging EnableAccessLogs: true # Enable GIN access logs (default is true; set to false to disable access logging) EnableColorLogs: true # Enables/disables ANSI color sequences in log output; default is true ShortedIDLength: 10 # Length of the random generated ID which is used for new shortened URLs AuthBackend: oauth # Can be 'oauth' or 'proxy' Google: # only relevant when using the oauth authbackend ClientID: replace me ClientSecret: replace me GitHub: # only relevant when using the oauth authbackend ClientID: replace me ClientSecret: replace me Microsoft: # only relevant when using the oauth authbackend ClientID: replace me ClientSecret: 'replace me' Proxy: # only relevant when using the proxy authbackend RequireUserHeader: false # If true, will reject connections that do not have the UserHeader set UserHeader: "X-Goog-Authenticated-User-ID" # pull the unique user ID from this header DisplayNameHeader: "X-Goog-Authenticated-User-Email" # pull the display naem from this header