JSON Web Tokens

This site https://jwt.io is a great resource to view the contents of a JSON Web Token. I was having problems with a token complaining that it was not valid, only to discover that, for some reason, I was receiving an outdated or expired token. So I took the expiration value and converted it to a…

React and Environment Variables

Create-react-app 1.0.0 added support for automatically reading configuration files for the three pre-defined environments: development, test, and production. As before, default (lowest priority) values may be defined in .env, and the value of NODE_ENV is set automatically based on the script used: start → development test → test build → production The 1.0.0 release adds…