Skip to content

Commit 8c1b132

Browse files
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).
1 parent cbed21f commit 8c1b132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/server/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const FAQ_URL = "api/v1/faq"
1616
const RESOURCES_URL = "api/v1/resources"
1717

1818
// JWT used for testing
19-
const AUTH_TOKEN = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6dHJ1ZSwiZXhwIjoxNTk4Mzg5MDg2LCJ6SUQiOiJ6NTEyMzQ1NiJ9.a8869YcfgBZCQcWUFuomF4Fqx9nJzT-rWpP2yRVsBWg"
19+
const AUTH_TOKEN = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6dHJ1ZSwiZXhwIjoxNjA2Mjc5MDg2LCJ6SUQiOiJ6NTEyMzQ1NiJ9.HElUm-Qmj9asFcemvD-8Na4dIXNEZpft3BzANxUS6ZU"
2020

2121
var JWT_SECRET = []byte("temp_secret_until_proper_secrets_are_implemented")
2222

0 commit comments

Comments
 (0)