Using <JWTProvider>, we can use the context directly by importing useContext from React and specifying the context JWTContext or we can use the custom hook useAuth from src/hooks/useAuth.js
Auth Configuration:
All configurations related to authentication are stored in config.js. Those configs are like APIKey to connect authentication server, project id, etc.
Mantis has a dummy/test config to make authentication work. Users have to change API and secret as per their project needs. One must not use those provided keys in their live environment.
The theme provides working an example for Login and Register only. Other flow like reset password, verification have to make it workable by the user himself.