Good call on making the environment configurable, I just pushed a change with that.
As for redoing the auth flow, I'd be happy to look at a PR from someone else who reworkds. I'm done with the project I needed this tool for, and I'm kinda swamped the next few weeks.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.