3min chapter

Syntax - Tasty Web Development Treats cover image

oAuth APIs Explained

Syntax - Tasty Web Development Treats

CHAPTER

The Importance of State in OAuth

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

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode