Enable AuthKit in ALL preview deploys with wildcards 🃏
In this tutorial, @chantastic shows you how to integrate AuthKit with git-based preview deployments from (popularized Vercel, Netlify, and Cloudflare).
🕒 Timestamps:
00:00 - Introduction
00:27 - The challenge with preview deploys
00:57 - Accepting wildcard values in redirect URIs
01:54 - Implementing dynamic redirect URIs
03:22 - Testing the solution
03:43 - Conclusion and tips
👨💻 Key takeaways:
Configure WorkOS dashboard for wildcard redirect URIs
Implement dynamic redirect URI generation in your code
Adapt environment variables for preview deploy scenarios
🔗 Useful links:
AuthKit Documentation: https://workos.com/docs/user-management
Cloudflare build configuration: https://developers.cloudflare.com/pag...
💡 Have you found this helpful? Let us know in the comments!
Don't forget to like, subscribe, and hit the notification bell to stay updated with more dev tips and tricks.
#AuthKit #WebDevelopment #PreviewDeploys #Authentication