You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A JWT consists of 3 sections: header, payload and signature. These can be observed in the JWT itself where they are separated by dots: <header>.<payload>.<signature>
The JWT payload has an expiry field that holds an epoch timestamp. Our current JWT is set to expire on the 2020-11-25 at 3:38pm (AEST). Since this is a development JWT it is fine to reset it manually, but once we deploy the JWT expiry should be set dynamically.
Resetting process
Find the JWT in backend/server/constants.go. It is the string after Bearer in the AUTH_TOKEN constant.
A JWT consists of 3 sections: header, payload and signature. These can be observed in the JWT itself where they are separated by dots:
<header>.<payload>.<signature>
The JWT payload has an expiry field that holds an epoch timestamp. Our current JWT is set to expire on the 2020-11-25 at 3:38pm (AEST). Since this is a development JWT it is fine to reset it manually, but once we deploy the JWT expiry should be set dynamically.
Resetting process
backend/server/constants.go
. It is the string afterBearer
in the AUTH_TOKEN constant.exp
field of the JWT payload.constants.go
and replace the old JWT.The text was updated successfully, but these errors were encountered: