From 8c1b132b78936519016f4c5b3839667d6fbec058 Mon Sep 17 00:00:00 2001 From: Sergio Mercado Ruiz <47744329+sergiomercado19@users.noreply.github.com> Date: Wed, 26 Aug 2020 14:33:10 +1000 Subject: [PATCH] Extend JWT expiry timestamp (#101) Added 3 more months to the JWT used for testing. The new expiry timestamp is 2020-11-25 at 3:38pm (AEST). --- backend/server/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/server/constants.go b/backend/server/constants.go index 75f50e26..0ccb1828 100644 --- a/backend/server/constants.go +++ b/backend/server/constants.go @@ -16,7 +16,7 @@ const FAQ_URL = "api/v1/faq" const RESOURCES_URL = "api/v1/resources" // JWT used for testing -const AUTH_TOKEN = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6dHJ1ZSwiZXhwIjoxNTk4Mzg5MDg2LCJ6SUQiOiJ6NTEyMzQ1NiJ9.a8869YcfgBZCQcWUFuomF4Fqx9nJzT-rWpP2yRVsBWg" +const AUTH_TOKEN = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6dHJ1ZSwiZXhwIjoxNjA2Mjc5MDg2LCJ6SUQiOiJ6NTEyMzQ1NiJ9.HElUm-Qmj9asFcemvD-8Na4dIXNEZpft3BzANxUS6ZU" var JWT_SECRET = []byte("temp_secret_until_proper_secrets_are_implemented")