If you don't want to set up an entire web browser because I was just writing node scripts I don't have a user facing URL. You can literally just copy the that code out of there put it into a variable or put it into pop Don't put it in a variable actually put it in your dot ENV file and then you can use that token for as long as you want especially when you have the refresh token. If you're just doing it once for a simple script obviously This is not gonna work for users who need to log in with your application, but if you just need to use OAuth because I want to access My own data via some companies API. Yeah So that
In this Hasty Treat, Scott and Wes talk all things oAuth - what is oAuth? What terms do you need to understand when working with oAuth? And tips for working with oAuth.
Show Notes
Tweet us your tasty treats