Contact channel APIs
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| stack-backend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 14, 2024 0:05am |
| stack-dashboard | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 14, 2024 0:05am |
| stack-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 14, 2024 0:05am |
| stack-partial-prerendering | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 14, 2024 0:05am |
Security
- No security or compliance vulnerabilities detected
- Scanned 26 changed file(s)
Changes Detected
-
[Refactor] Update database schema for contact channels [apps/backend/prisma/schema.prisma]
- Removed OTP contact channel and password identifier
- Added usedForAuth field to ContactChannel model
- Updated unique constraints for ContactChannel
-
[Feature] Add new API endpoints for contact channels [apps/backend/src/app/api/v1/contact-channels/]
- Created CRUD handlers for contact channels
- Added routes for creating, deleting, and sending verification codes
-
[Refactor] Update user authentication logic [apps/backend/src/app/api/v1/auth/]
- Modified OTP and password sign-in processes
- Updated user creation and retrieval methods
-
[Refactor] Modify user CRUD operations [apps/backend/src/app/api/v1/users/crud.tsx]
- Updated user creation, reading, and updating logic
- Changed how auth methods and contact channels are handled
-
[Test] Add new tests for contact channel operations [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Created tests for creating, deleting, and verifying contact channels
-
[Refactor] Update shared interfaces and schemas [packages/stack-shared/src/interface/crud/]
- Added new schemas for contact channels
- Modified user and current user schemas
-
[UI] Update password reset and forgot password components [packages/stack/src/components-page/]
- Minor styling changes to forgot-password and password-reset forms
Security
- No security or compliance vulnerabilities detected
- Scanned 26 changed file(s)
Changes Detected
-
[Feature] Added more tests [MULTIPLE FILES]
- Tests were added across multiple files
- Specific files or components affected are not specified
- Improves test coverage of the codebase
-
[Refactor] Updated database schema for contact channels and auth methods [apps/backend/prisma/schema.prisma]
- Removed
OtpAuthMethod.contactChannelIdandPasswordAuthMethod.identifier - Added
ContactChannel.usedForAuthfield - Updated unique constraints on ContactChannel model
- Simplified OtpAuthMethod and PasswordAuthMethod models
- Removed
-
[Refactor] Modified authentication logic to use updated schema [apps/backend/src/app/api/v1/auth/]
- Updated sign-in and verification code handlers
- Adjusted queries to use new ContactChannel structure
- Modified error handling for authentication processes
-
[Feature] Implemented CRUD operations for contact channels [apps/backend/src/app/api/v1/contact-channels/]
- Added routes for creating, reading, updating, and deleting contact channels
- Implemented server-side logic for contact channel management
- Created new API endpoints for contact channel operations
-
[Refactor] Updated user management logic [apps/backend/src/app/api/v1/users/crud.tsx]
- Modified user creation and update processes
- Adjusted how contact channels and auth methods are handled
- Updated response structures for user-related operations
-
[Refactor] Updated e2e tests to reflect schema and API changes [apps/e2e/tests/]
- Modified existing tests to work with new schema
- Added new tests for contact channel operations
- Updated expected response structures in various test cases
🌿 Preview your docs: https://stack-auth-preview-75a1a7cc-70ce-4613-8ac9-4f4f6627c2b9.docs.buildwithfern.com
🌿 Preview your docs: https://stack-auth-preview-5a363c16-2d1c-44ee-a96e-5f83672858be.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 13 changed file(s)
Changes Detected
-
[Feature] Add contact channel API endpoints [apps/backend/src/app/api/v1/contact-channels/]
- Implemented new routes for creating, deleting, and sending verification codes for contact channels
- Added CRUD handlers for contact channels
- Introduced new API endpoints for user-specific contact channel operations
-
[Refactor] Update user CRUD operations [apps/backend/src/app/api/v1/users/crud.tsx]
- Modified contactChannelToCrud function to handle all channel types
- Updated userFullInclude to include contact channel information
-
[Feature] Add contact channel validation checks [apps/backend/src/lib/request-checks.tsx]
- Implemented ensureContactChannelDoesNotExists and ensureContactChannelExists functions
- Added checks for duplicate contact channels and existence of contact channels
-
[Test] Add contact channel API tests [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Created new test file contact-channels.test.ts
- Added tests for creating, deleting, and handling duplicate contact channels
- Included tests for both client and server-side operations
-
[Feature] Add contact channel schemas [packages/stack-shared/src/interface/crud/contact-channels.ts]
- Created new file with schemas for contact channel CRUD operations
- Defined types and validation rules for contact channel data
-
[Update] Modify user schemas [packages/stack-shared/src/interface/crud/users.ts]
- Added contactChannelSchema to usersCrudServerReadSchema
- Updated user-related schemas to include contact channel information
Security
- No security or compliance vulnerabilities detected
- Scanned 12 changed file(s)
Changes Detected
-
[Bug Fix] Improved error handling in auth sessions route [apps/backend/src/app/api/v1/auth/sessions/route.tsx]
- Simplified nested if statements for error handling
- Specifically handles CrudHandlerInvocationError and UserNotFound errors
-
[Feature] Added new contact channels API endpoints [Multiple files]
- Created new routes for managing contact channels
- Implemented CRUD operations for contact channels
- Added server and client-side handling for contact channel operations
-
[Refactor] Moved contactChannelToCrud function [apps/backend/src/app/api/v1/users/crud.tsx]
- Relocated function to a more appropriate file
- Removed unnecessary type check for email channels
-
[Feature] Added new request check functions [apps/backend/src/lib/request-checks.tsx]
- Implemented ensureContactChannelDoesNotExists function
- Implemented ensureContactChannelExists function
-
[Test] Added new e2e tests for contact channels [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/contact-channels.test.ts]
- Created tests for creating, deleting, and handling duplicate contact channels
- Added tests for both client and server-side operations
-
[Refactor] Updated shared interface for contact channels [packages/stack-shared/src/interface/crud/contact-channels.ts]
- Defined schemas for contact channel CRUD operations
- Added type definitions for contact channels
-
[Refactor] Updated users interface to include contact channel schema [packages/stack-shared/src/interface/crud/users.ts]
- Added contactChannelSchema to the users interface
🌿 Preview your docs: https://stack-auth-preview-cc6a2dec-ad87-42e9-affb-d94b64f95288.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 14 changed file(s)
Changes Detected
-
[Refactor] Simplified error handling in auth sessions route [apps/backend/src/app/api/v1/auth/sessions/route.tsx]
- Condensed nested if statements into a single condition
- Improved readability of error handling for UserNotFound case
-
[Feature] Added new contact channels API routes [apps/backend/src/app/api/v1/contact-channels/]
- Implemented CRUD operations for contact channels
- Created new routes for GET, POST, and DELETE operations
- Added route for sending verification code to contact channels
-
[Refactor] Moved contact channel logic from users CRUD [apps/backend/src/app/api/v1/users/crud.tsx]
- Removed contactChannelToCrud function from users CRUD
- Relocated contact channel-related functionality to new contact channels API
-
[Feature] Added contact channel request checks [apps/backend/src/lib/request-checks.tsx]
- Implemented ensureContactChannelDoesNotExists function
- Implemented ensureContactChannelExists function
-
[Test] Added e2e tests for contact channels API [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Created tests for creating, listing, and deleting contact channels
- Added tests for handling duplicate contact channels and non-existent channels
-
[Feature] Added contact channels CRUD interface [packages/stack-shared/src/interface/crud/contact-channels.ts]
- Defined schemas for contact channel operations
- Created contactChannelsCrud object with CRUD operations
-
[Refactor] Updated users CRUD interface [packages/stack-shared/src/interface/crud/users.ts]
- Removed contact channel-related schema from users CRUD
- Added contactChannelSchema definition
🌿 Preview your docs: https://stack-auth-preview-ee1270e7-9665-42e6-84f3-14fc22c014b7.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 16 changed file(s)
Changes Detected
-
[Feature] Add contact channels CRUD operations [apps/backend/src/app/api/v1/contact-channels/]
- Implemented new routes for creating, reading, updating, and deleting contact channels
- Added handlers for GET, POST, and DELETE operations
- Introduced new schema definitions for contact channel operations
-
[Refactor] Update user CRUD operations [apps/backend/src/app/api/v1/users/crud.tsx]
- Removed contactChannelToCrud function
- Added contactChannelSchema to usersCrudServerReadSchema
-
[Feature] Add contact channel verification endpoints [apps/backend/src/app/api/v1/contact-channels/[user_id]/[contact_channel_id]/send-verification-code/route.tsx]
- Implemented new route for sending verification codes
- Added handler for POST operation to send verification codes
-
[Bug Fix] Update error handling in sessions route [apps/backend/src/app/api/v1/auth/sessions/route.tsx]
- Simplified error handling logic for UserNotFound errors
-
[Refactor] Update request checks [apps/backend/src/lib/request-checks.tsx]
- Added functions to ensure contact channel existence and non-existence
- Updated provider checks
-
[Feature] Add E2E tests for contact channels [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Implemented tests for creating, reading, and deleting contact channels
- Added tests for sending verification codes
-
[Refactor] Update team memberships and permissions routes [apps/backend/src/app/api/v1/team-memberships/ and apps/backend/src/app/api/v1/team-permissions/]
- Added TODO comments to move routes
🌿 Preview your docs: https://stack-auth-preview-993d5a2b-331b-425e-a94f-e58453cbae12.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 16 changed file(s)
Changes Detected
-
[Feature] Add CRUD operations for contact channels [apps/backend/src/app/api/v1/contact-channels/]
- Implemented new routes for creating, reading, updating, and deleting contact channels
- Added handlers for GET, POST, and DELETE operations
- Introduced contact channel validation and error handling
-
[Refactor] Simplify error handling in auth sessions route [apps/backend/src/app/api/v1/auth/sessions/route.tsx]
- Reduced nested if statements for error checking
- Improved readability of error handling code
-
[Feature] Add send verification code functionality for contact channels [apps/backend/src/app/api/v1/contact-channels/[user_id]/[contact_channel_id]/send-verification-code/route.tsx]
- Implemented new route for sending verification codes
- Added authentication and authorization checks
- Integrated with existing verification code handler
-
[Refactor] Move contact channel related functions to separate file [apps/backend/src/app/api/v1/users/crud.tsx]
- Removed contactChannelToCrud function from users crud file
- Improved separation of concerns
-
[Feature] Add contact channel existence checks [apps/backend/src/lib/request-checks.tsx]
- Implemented ensureContactChannelDoesNotExists and ensureContactChannelExists functions
- Added validation for contact channel creation and deletion
-
[Test] Add new tests for contact channels [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Created tests for creating, reading, updating, and deleting contact channels
- Added tests for sending verification codes
- Implemented tests for error handling and edge cases
-
[Refactor] Update team memberships and permissions routes [apps/backend/src/app/api/v1/team-memberships/ and apps/backend/src/app/api/v1/team-permissions/]
- Added TODO comments to move routes in the future
-
[Feature] Add contact channels interface in shared package [packages/stack-shared/src/interface/crud/contact-channels.ts]
- Defined schemas for contact channel CRUD operations
- Added type definitions for contact channels
🌿 Preview your docs: https://stack-auth-preview-9704a1b6-d50e-4f6b-9a67-1ca3c8b25e0d.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 16 changed file(s)
Changes Detected
-
[Feature] Add contact channels CRUD operations [apps/backend/src/app/api/v1/contact-channels/]
- Implemented new routes for contact channels
- Added create, read, delete, and list operations
- Includes server and client-side handling
-
[Refactor] Simplify error handling in sessions route [apps/backend/src/app/api/v1/auth/sessions/route.tsx]
- Condensed nested if statements into a single condition
- Improved readability of error handling logic
-
[Feature] Add send verification code functionality [apps/backend/src/app/api/v1/contact-channels/[user_id]/[contact_channel_id]/send-verification-code/route.tsx]
- Implemented new route for sending verification codes
- Handles both client and server authentication types
- Includes error handling for various scenarios
-
[Feature] Add contact channel validation checks [apps/backend/src/lib/request-checks.tsx]
- Implemented functions to ensure contact channel existence and non-existence
- Added checks for project, user, and contact channel type
-
[Test] Add end-to-end tests for contact channels [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Created new test files for contact channels functionality
- Added tests for CRUD operations, verification, and error handling
-
[Feature] Add contact channels shared interfaces [packages/stack-shared/src/interface/crud/contact-channels.ts]
- Defined schemas for contact channel CRUD operations
- Added type definitions for client and server-side operations
-
[Refactor] Update users CRUD interface [packages/stack-shared/src/interface/crud/users.ts]
- Added contact channel schema to user CRUD operations
🌿 Preview your docs: https://stack-auth-preview-eb77476c-750c-4926-8e25-b6e06b916c7c.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 16 changed file(s)
Changes Detected
-
[Bug Fix] Improved error handling in auth sessions route [apps/backend/src/app/api/v1/auth/sessions/route.tsx]
- Simplified nested if statements for error handling
- Specifically handles CrudHandlerInvocationError and KnownErrors.UserNotFound
-
[Feature] Added new contact channels API endpoints [apps/backend/src/app/api/v1/contact-channels/]
- Implemented CRUD operations for contact channels
- Added routes for reading, creating, deleting, and sending verification codes
-
[Refactor] Updated contact channels verification code sending [apps/backend/src/app/api/v1/contact-channels/send-verification-code/route.tsx]
- Marked the existing route as deprecated
- Added a comment to use the new endpoint instead
-
[Feature] Added new CRUD handlers for contact channels [apps/backend/src/app/api/v1/contact-channels/crud.tsx]
- Implemented create, read, update, and delete operations
- Added validation and error handling for contact channel operations
-
[Refactor] Updated README diagram [README.md]
- Removed Website and StackSDK components
- Added External OAuth Providers and Svix components
- Updated connections between components
-
[Feature] Added new contact channels related functions [apps/backend/src/lib/request-checks.tsx]
- Implemented ensureContactChannelDoesNotExists and ensureContactChannelExists functions
- Added checks for contact channel existence and uniqueness
-
[Test] Added new tests for contact channels [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Implemented tests for creating, reading, updating, and deleting contact channels
- Added tests for sending verification codes and handling edge cases
-
[Feature] Added new contact channels CRUD types [packages/stack-shared/src/interface/crud/contact-channels.ts]
- Defined schemas for contact channel operations
- Added types for client and server-side CRUD operations
🌿 Preview your docs: https://stack-auth-preview-90071092-b5b7-476f-8e77-da9689ad373a.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 16 changed file(s)
Changes Detected
-
[Bug Fix] Fixed tests [COMMENT]
- Comment body indicates tests were fixed
- No specific details provided about which tests or how they were fixed
-
[Feature] Added contact channels CRUD operations [apps/backend/src/app/api/v1/contact-channels/]
- Implemented new routes for creating, reading, updating, and deleting contact channels
- Added handlers for sending verification codes and verifying contact channels
-
[Refactor] Updated user CRUD operations [packages/stack-shared/src/interface/crud/users.ts]
- Modified usersCrudServerReadSchema to include contact channel information
- Added contactChannelSchema definition
-
[Feature] Implemented contact channels API endpoints [apps/backend/src/app/api/v1/contact-channels/]
- Added new routes for managing contact channels
- Implemented CRUD operations for contact channels
-
[Update] Modified README diagram [README.md]
- Updated mermaid diagram to reflect changes in system architecture
- Removed StackSDK from the diagram
-
[Refactor] Updated error handling in sessions route [apps/backend/src/app/api/v1/auth/sessions/route.tsx]
- Simplified error handling logic for UserNotFound errors
-
[Feature] Added e2e tests for contact channels [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Implemented new test cases for contact channel operations
- Added tests for sending verification codes and verifying contact channels
🌿 Preview your docs: https://stack-auth-preview-2d1eb221-7f6d-41a2-a1dd-00cfd67dcef4.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 22 changed file(s)
Changes Detected
-
[Feature] Implemented new merge account logic [apps/backend/src/app/api/v1/auth/oauth/callback/[provider_id]/route.tsx]
- Added logic to check for existing contact channels
- Introduced
primaryEmailAuthEnabledflag - Modified user creation process to consider existing accounts
-
[Feature] Added contact channel management functionality [apps/backend/src/app/api/v1/contact-channels/]
- Implemented CRUD operations for contact channels
- Created new routes for managing contact channels
- Added verification process for contact channels
-
[Refactor] Updated authentication flows [Multiple files]
- Modified OTP and password sign-in processes
- Updated email verification logic
- Refactored user creation and lookup processes
-
[Feature] Introduced
getAuthContactChannelfunction [apps/backend/src/lib/contact-channel.tsx]- Created utility function to retrieve auth contact channels
- Used in various authentication and user management processes
-
[Feature] Added contact channel validation checks [apps/backend/src/lib/request-checks.tsx]
- Implemented functions to ensure contact channel existence/non-existence
- Used in contact channel creation and management processes
-
[Test] Added new E2E tests for contact channel functionality [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Created tests for contact channel CRUD operations
- Added tests for contact channel verification process
- Implemented tests for merge account scenarios
-
[API] Updated and added new API endpoints [Multiple files]
- Modified existing auth-related endpoints
- Added new endpoints for contact channel management
- Updated response schemas for user and contact channel data
🌿 Preview your docs: https://stack-auth-preview-d99d723b-f283-4ff8-9f2e-3258d5be8f6a.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 24 changed file(s)
Changes Detected
-
[Refactor] Moved user creation for OTP sign-in [apps/backend/src/app/api/v1/auth/otp/sign-in/verification-code-handler.tsx]
- User creation now happens after email verification
- Updated handler function to create user if not exists
- Removed user creation from send function
-
[Feature] Added contact channel management [apps/backend/src/app/api/v1/contact-channels/]
- Implemented CRUD operations for contact channels
- Added new routes for managing contact channels
- Created helper functions for contact channel operations
-
[Bug Fix] Updated OTP sign-in process [apps/backend/src/app/api/v1/auth/otp/send-sign-in-code/route.tsx]
- Fixed issue with existing unverified email accounts
- Added check for primary email auth enabled status
- Implemented merge of OTP auth method with existing account
-
[Refactor] Updated OAuth callback handling [apps/backend/src/app/api/v1/auth/oauth/callback/[provider_id]/route.tsx]
- Added check for existing contact channel
- Updated primary email auth enabled logic
-
[Feature] Added new API endpoints for contact channels [apps/backend/src/app/api/v1/contact-channels/]
- Implemented routes for creating, reading, updating, and deleting contact channels
- Added verification code sending functionality for contact channels
-
[Refactor] Updated user schema and CRUD operations [packages/stack-shared/src/interface/crud/users.ts]
- Added contact channel schema to user model
- Updated server read schema for users
🌿 Preview your docs: https://stack-auth-preview-e10a71fe-c981-4a03-bb03-e6992d8e5753.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 25 changed file(s)
Changes Detected
-
[Feature] Added contact channel management functionality [apps/backend/src/app/api/v1/contact-channels/]
- Implemented CRUD operations for contact channels
- Added routes for creating, reading, updating, and deleting contact channels
- Introduced verification process for contact channels
-
[Refactor] Updated OTP sign-in process [apps/backend/src/app/api/v1/auth/otp/]
- Modified user creation and authentication logic
- Updated handling of primary email verification
- Adjusted error handling for sign-in attempts
-
[Feature] Enhanced OAuth callback handling [apps/backend/src/app/api/v1/auth/oauth/callback/[provider_id]/route.tsx]
- Added check for existing contact channels during OAuth sign-in
- Implemented logic to handle primary email authentication
-
[Refactor] Updated password authentication process [apps/backend/src/app/api/v1/auth/password/]
- Modified sign-in and sign-up logic to use new contact channel structure
- Updated error handling for authentication attempts
-
[Feature] Added new helper functions for contact channels [apps/backend/src/lib/contact-channel.tsx]
- Implemented getAuthContactChannel function
- Added utility functions for contact channel operations
-
[Refactor] Updated user CRUD operations [apps/backend/src/app/api/v1/users/crud.tsx]
- Removed contactChannelToCrud function
- Updated user schema to include contact channel information
-
[Feature] Added new shared interface for contact channels [packages/stack-shared/src/interface/crud/contact-channels.ts]
- Defined schemas for contact channel CRUD operations
- Added types and validation for contact channel data
-
[Test] Added new e2e tests for contact channel functionality [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Implemented tests for creating, reading, updating, and deleting contact channels
- Added tests for contact channel verification process
🌿 Preview your docs: https://stack-auth-preview-90115e51-c0ed-4000-b0e7-3d684462c454.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 25 changed file(s)
Changes Detected
-
[Bug Fix] Improved OTP sign-in flow [apps/backend/src/app/api/v1/auth/otp/send-sign-in-code/route.tsx]
- Updated logic for handling existing contact channels
- Added check for email verification status
- Implemented automatic merging of OTP auth method with existing account
-
[Feature] Added contact channels CRUD operations [apps/backend/src/app/api/v1/contact-channels/]
- Implemented create, read, update, and delete endpoints for contact channels
- Added validation for duplicate contact channels
- Implemented permissions checks for client-side operations
-
[Refactor] Updated user authentication flow [Multiple files]
- Modified user creation and sign-in processes
- Updated handling of email verification and auth methods
- Refactored code to use new contact channel functionality
-
[Bug Fix] Corrected OAuth callback handling [apps/backend/src/app/api/v1/auth/oauth/callback/[provider_id]/route.tsx]
- Updated logic for setting primary email auth enabled
- Added check for existing contact channels during OAuth sign-up
-
[Feature] Implemented new contact channel verification process [apps/backend/src/app/api/v1/contact-channels/[user_id]/[contact_channel_id]/send-verification-code/route.tsx]
- Added endpoint for sending verification codes to specific contact channels
- Implemented checks for contact channel ownership and verification status
-
[Refactor] Updated backend tests to reflect new authentication flow [apps/e2e/tests/backend/]
- Modified existing tests to work with new contact channel system
- Added new tests for contact channel CRUD operations and verification
🌿 Preview your docs: https://stack-auth-preview-138ed2f0-17bb-4ed1-bdf0-0d757b080229.docs.buildwithfern.com
Security
- No security or compliance vulnerabilities detected
- Scanned 25 changed file(s)
Changes Detected
-
[Feature] Added contact channel management functionality [apps/backend/src/app/api/v1/contact-channels/]
- Implemented CRUD operations for contact channels
- Added routes for creating, reading, updating, and deleting contact channels
- Introduced new API endpoints for managing contact channels
-
[Refactor] Updated authentication flow to use contact channels [apps/backend/src/app/api/v1/auth/]
- Modified OTP and password sign-in processes
- Updated OAuth callback to handle contact channel verification
- Refactored user creation and authentication logic
-
[Feature] Implemented contact channel verification process [apps/backend/src/app/api/v1/contact-channels/]
- Added endpoint for sending verification codes
- Created handler for verifying contact channels
- Updated user model to include contact channel verification status
-
[Bug Fix] Resolved issues with duplicate contact channels [apps/backend/src/lib/request-checks.tsx]
- Added checks to prevent creation of duplicate contact channels
- Implemented error handling for existing contact channels
-
[Feature] Added new tests for contact channel functionality [apps/e2e/tests/backend/endpoints/api/v1/contact-channels/]
- Created tests for contact channel CRUD operations
- Added tests for contact channel verification process
- Implemented tests for authentication using contact channels
-
[Refactor] Updated user model and related schemas [packages/stack-shared/src/interface/crud/]
- Added contact channel schema to user model
- Updated user CRUD schemas to include contact channel information
- Modified shared interfaces to support new contact channel functionality
🌿 Preview your docs: https://stack-auth-preview-d592baed-cb69-48b0-a560-6512f0a74177.docs.buildwithfern.com