bash: generate secret token
# Option 1: openssl rand -base64 128 # Option 2 echo -n '{"alg":"HS256","typ":"JWT"}' | base64 | sed s/\+/-/g | sed 's/\//_/g' | sed -E s/=+$//
# Option 1: openssl rand -base64 128 # Option 2 echo -n '{"alg":"HS256","typ":"JWT"}' | base64 | sed s/\+/-/g | sed 's/\//_/g' | sed -E s/=+$//