Need help with C++ JWT Library

Hey,

I thought it was encrpyted and a secret key was needed, the secret key was confusing me. I am just writing this so who needs it can see it.

This is to install library for linux ubuntu:

/***************************************
//JWT and Git STEP BY STEP
sudo apt-get install libssl-dev

sudo apt-get install git-all

//Install libcrypto+±dev and cmake packages
sudo apt install libcrypto+±dev cmake

//GIT
git clone GitHub - Thalhammer/jwt-cpp: A header only library for creating and validating json web tokens in c++

//Go to jwt-cpp folder
cd jwt-cpp

//Create a build directory and go to it
mkdir build && cd build

//Run cmake
cmake …

//Compile and install jwt-cpp library
make && sudo make install

*********************************************/

To decode JWT HS256:

#include <jwt-cpp/jwt.h>

auto test = jwt::decode(jwtString);
std::string result = test.get_payload();
std::cout << result << std::endl;