
We'll be allowing your users to Sign in with Google.įollow along by creating a new SST app by running npx Alternatively, you can refer to this example repo that's based on the same template.Īuth works by attaching additional routes to your API to handle authentication.
#Usesess how to#
Let's look at an example of how to add auth to your app.

Can be extended with custom adapters to support more complex workflows, like multi-tenant SSO.A LinkAdapter to generate login links that can be sent over email or SMS.OIDC and OAuth adapters that work with any compatible service.High level adapters for common providers like Google, GitHub, Twitch, etc.Stores the RSA key pair as secrets in the app's Config.ĪuthHandler - a Lambda handler function that can handle authentication flows for various providers.


