Source code: https://github.com/andfadeev/bun-hono...
Let's add Google OAuth2 to our web application (Bun and Hono stack). We will use a tiny library to create an OAuth client (but even that could be avoided).
Useful links:
https://oslo.js.org/reference/oauth2/
https://console.cloud.google.com/apis...
https://lucia-auth.com/guidebook/gith...
https://github.com/lucia-auth/lucia/b...
https://auth0.com/docs/secure/attack-...
☕ If you liked this video and want to support my channel, please consider buying me a coffee. Your contribution helps me create more content like this:
👉 Buy Me a Coffee: https://www.buymeacoffee.com/andrey.f...
👉 Ko-fi: https://ko-fi.com/andreyfadeev
Please also subscribe to my other resources:
👉 Substack: https://blog.andreyfadeev.com
👉 Telegram: https://t.me/andreyfadeevchannel
I'm truly grateful for your support, and thank you for watching! 🙏
#bun #hono #javascript #typescript #oauth #google