Auth | SST
With a simple set of configuration, it'll create a function that'll handle various authentication flows. You can then attach this function to your API and SST will help you manage the session tokens. Want to learn more about Auth? Check out the launch livestream on YouTube. Auth is made up of the following pieces: Auth — a construct that creates the necessary infrastructure. AuthHandler — a Lambda handler function that can handle authentication flows for various providers. Session — a library for issuing and validating authentication sessions in your Lambda function code. Let's look at an example of how to add auth to your app. We'll be allowing your users to Sign in with Google. Follow along by creating a new SST app by running npx create-sst@latest. Alternatively, you can refer to this example repo that's based on the same template. Auth works by attaching additional routes to your API to handle authentication. Import the Auth construct, attach it to your API and point it to a handle
What is SST | SST Skip to content What is SST SST is a framework that makes it easy to build modern full-stack applications on your own infrastructure. Note SST supports over 150 providers. Check out the full list . What makes SST different is that your entire app is defined in code — in a single sst.config.ts file. This includes databases, buckets, queues, Stripe webhooks, or any one of 150+ providers . With SST, everything is automated . Components You start by defining parts of your app, in code . For example, you can add your frontend and set the domain you want to use. Next.js Remix Astro
Explore this link on the map →related reading
- What is SST?sst.dev
- Create an SST appsst.dev
- Stripe Dot Devstripe.dev
- What Is Infrastructure as Codesst.dev
- Stytch - A better way to build authstytch.com
- Clerk | Authentication and User Managementclerk.com
- AI Elementselements.ai-sdk.dev
- Tensolsolstis.ai
- Sandbox SDKsandbox.cloudflare.com
- GitHub - nikivdev/go: Go tools, libraries · GitHubgithub.com
- Typst: The new foundation for documentstypst.app
- kettio – Deployment Overview – Vercelvercel.com