How to Implement OAuth Serverlessly - How to Verify State and Carry Over RedirectURLs
I’m not sure how many devs out there need such a guide. The barrier to entry for serverless isn’t quite so low as too entice many developers building out their first APIs without the necessary experience to anticipate the workarounds and concessions they’d have to make before attempting it, not least due to still niche nature of serverless. But as it happens I was struggling to preserve redirect URLs and state between endpoint invocations for OAuth 2.0 Auth flow without any session storage, and I figured I couldn’t have been the first.