Code example for flow present in docs.
Leverages FastAPI, but not required. I had a tough time understanding the docs, I thought they meant query params lol (to retrieve the access token).
Anyway, I've made this gist to help you guys out, maybe save a few minutes.
TheOnlyWayUp © 2023