🚧 Docs Under Construction. Please bear with us! 🚧

Authentication

SlackShots uses a custom authentication solution called `better-auth` to handle user authentication.

Authentication Flow

The authentication flow is as follows:

  1. User clicks the "Sign in with Slack" button.
  2. User is redirected to Slack to authorize the application.
  3. User is redirected back to the application with an authorization code.
  4. The application exchanges the authorization code for an access token.
  5. The application creates a session for the user.