Skip to content

Create auth proxies for handling user sessions #26

@lululeon

Description

@lululeon

For now, we will handle basic signup with username and password only. This ticket will create the api routes in the next js app for:

  • forwarding username+password submissions to the API during signup events, and handling the response
  • forwarding username+password submissions to the API during login events, and handling the response

Additionally:

  • ensure usernames are unique across the app
  • allow a flexible method for enforce password constraints (e.g. for now, > 8 characters in length)

Refs: https://v2.lucia-auth.com/guidebook/sign-in-with-username-and-password/

Entrance critieria

⌛ This ticket should wait for these dependencies to built:

Acceptance criteria

  • frontend is capable of passing information to cbld api and handling the response

Metadata

Metadata

Assignees

No one assigned

    Labels

    authuser & app authz/authn flows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions