Automatic bearer token generator for 42_API
This is an automatic generator of Bearer tokens to make requests to the API. An easy way beacuse you only needo to introduce your UID and SECRET keys. This script returns you the Bearer token and a .gnf file which contains the output data and date of generation. Let's see how it works...
Let's see how it works...
- The first thing is to create a new application in the APIs area of the intra. Don´t worry about that form. Easy, right?
- Run gensen.sh on your terminal.
- Insert the UID and SECRET key that the intra gives you after creating the application.
- ✨🎉 Your Bearer token is already generated!!! ✨🎉
Remember that the script returns a file called genFile.gnf that contains the returned information.
Simply download this script with this command line and voila!
curl -L https://github.com/Brandommoore/gensen/main/gensen.sh > gensen.sh
Made with ❤ by BRMO