aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-07-28 12:16:00 -0400
committerGalen Guyer <galen@galenguyer.com>2022-07-28 12:16:00 -0400
commit267810a0e61a11a28a7226f201c6b4b2d65c6d2c (patch)
tree8c5c047c569afeedba1b6c7f64cffe8a936c4ec9
parentffa940cffe08a0237f29759d9d3a638ba69ab290 (diff)
use the right env variable for oidc state
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4e00a82..373ed2e 100644
--- a/main.go
+++ b/main.go
@@ -25,7 +25,7 @@ func main() {
os.Getenv("VOTE_OIDC_ID"),
os.Getenv("VOTE_OIDC_SECRET"),
os.Getenv("VOTE_JWT_SECRET"),
- os.Getenv("VOTE_SECRET"),
+ os.Getenv("VOTE_STATE"),
os.Getenv("VOTE_HOST"),
os.Getenv("VOTE_HOST")+"/auth/callback",
os.Getenv("VOTE_HOST")+"/auth/login",