Skip to content

Commit

Permalink
Extend JWT expiry timestamp (#101)
Browse files Browse the repository at this point in the history
Added 3 more months to the JWT used for testing. The new expiry timestamp is 2020-11-25 at 3:38pm (AEST).
  • Loading branch information
sergiomercado19 authored Aug 26, 2020
1 parent cbed21f commit 8c1b132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/server/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 8c1b132

Please sign in to comment.