The node express app is used to help learn about JWT.
Prereqs:
- Create Private and Public Key followCreate a Private Key and Self-Signed Digital Certificate
- Replace the server.key
- Create Connected App with Digital Signature
- Add the server.crt file
- Change the authorization to Admin approved and add profiles
- Add Client Id to the config file
node server.js
Post to localhost:5000/api/jwtauth with JSON body 'sub': <username>
Return will have the bearer access token to use for other api calls in the header