summaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-08-23 13:06:15 -0400
committerBen Sima <ben@bsima.me>2021-11-26 13:47:38 -0500
commit45f352f9cb3bdc16048a0f0d70eef6a59272472b (patch)
tree7cae4b608e45360085d950d7c14d80911ce46b7c /.envrc
parentaa2eb2d3e08fb74b93acc9608a78582834a65e8c (diff)
Fix GitHub OAuth args
This makes it explicit that we are using GitHub vs some other OAuth args. The idea is that we should be making a new type for every service, this allows us to have type safety in the implementation but a common set or pattern of names for the environment variables and record fields. Also using 'notset' instead of 'mempty' is really helpful for debugging when this breaks, as I found out.
Diffstat (limited to '.envrc')
-rw-r--r--.envrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index 19be922..cbf6eda 100644
--- a/.envrc
+++ b/.envrc
@@ -8,7 +8,7 @@ export GUILE_LOAD_PATH=$BIZ_ROOT
# Biz/Devalloc.hs:
export GITHUB_CLIENT_ID=aa575dc96263bc99556d
-export GITHUB_STATE=$(cat /proc/sys/kernel/random/uuid)
+export GITHUB_CLIENT_STATE=$(cat /proc/sys/kernel/random/uuid)
export STRIPE_PUBKEY=pk_test_51I3jv1IC3f10BNLClrBmNr485mWSzQkITvjO0MmSeFn4chFqmODJaHcI7IiN1sqSJYusmRhuPzeGTbCrl8dMsSQP00JXUmlVFC
if type lorri &>/dev/null