Skip to content

Commit

Permalink
config.toml: add cautionary note around basic auth (#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan-at-work committed Mar 7, 2019
1 parent 36dae02 commit a4450c1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config.dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ Port = ":3000"
# Env override: ATHENS_GLOBAL_ENDPOINT
GlobalEndpoint = "http://localhost:3001"

# BASIC AUTH OPTIONS
# ==================
# PLASE NOTE THAT THIS IS A BAD HACK AROUND
# THE FACT THAT GO DOES NOT SUPPORT PROPER AUTHENTICATION
# YET! YOUR BASIC AUTH CREDENTIALS CAN EASILY LEAK
# IN ATHENS LOGS AS WELL AS GO COMMAND LOGS.
# THIS WILL BE ADDRESSED IN 1.13.
# SEE https://github.com/golang/go/issues/30610

# Username for basic auth
# Env override: BASIC_AUTH_USER
BasicAuthUser = ""
Expand Down

0 comments on commit a4450c1

Please sign in to comment.