Learn oauth2 part 2 Following this tutorial A lot of declarations use as any, the reason is that right now I don't have the time to deal with ts types Environment variables # Client id and secret CLIENT_ID=your_client_id CLIENT_SECRET=your_client_secret REDIRECT_URI=http://localhost:3020