Instead of using someone elses generator, you should build your own.
Makes it easier to utilize storing and retrieval of the access codes. And means you can use a server to server/app access/Client Credentials token, instead of a user token where relevant