Connected account API & Dashboard
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| stack-backend | ❌ Failed (Inspect) | Sep 27, 2024 5:47pm | ||
| stack-dashboard | ❌ Failed (Inspect) | Sep 27, 2024 5:47pm | ||
| stack-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 27, 2024 5:47pm |
| stack-partial-prerendering | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 27, 2024 5:47pm |
Security
- No security or compliance vulnerabilities detected
- Scanned 11 changed file(s)
Changes Detected
-
[Refactor] Update project configuration structure [apps/backend/src/app/api/v1/internal/projects/crud.tsx]
- Replaced
oauth_providerswithoauth_provider_configs - Updated structure for auth method configurations
- Added
connected_account_configs
- Replaced
-
[Feature] Implement new auth method configuration system [apps/backend/src/app/api/v1/internal/projects/crud.tsx]
- Added support for password, OTP, and OAuth auth methods
- Introduced
auth_method_configsarray with type-specific configurations
-
[Refactor] Update project CRUD operations [apps/backend/src/app/api/v1/projects/current/crud.tsx]
- Revised OAuth provider configuration handling
- Implemented upsert operations for auth method configs
-
[Refactor] Update project data structure in shared package [packages/stack-shared/src/interface/crud/projects.ts]
- Added new schemas for OAuth provider configs, auth method configs, and connected account configs
- Removed deprecated fields like
credential_enabledandmagic_link_enabled
-
[Feature] Update client-side components for new auth structure [packages/stack/src/components-page/auth-page.tsx]
- Modified AuthPage component to use new
enabledAuthMethodConfigs - Updated rendering logic for different auth methods
- Modified AuthPage component to use new
-
[Refactor] Update StackApp implementation [packages/stack/src/lib/stack-app.ts]
- Modified project configuration parsing to use new structure
- Updated user and project types to reflect new auth configuration
-
[Test] Update E2E tests for new project structure [apps/e2e/tests/backend/endpoints/api/v1/internal/projects.test.ts]
- Modified test cases to use new project configuration format
- Added tests for auth method configs and OAuth provider configs
Security
- No security or compliance vulnerabilities detected
- Scanned 11 changed file(s)
Changes Detected
-
[Refactor] Update project configuration structure [apps/backend/src/app/api/v1/internal/projects/crud.tsx]
- Replaced
oauth_providerswithoauth_provider_configs - Updated structure for auth method configurations
- Added
connected_account_configs
- Replaced
-
[Feature] Implement new auth method configuration system [apps/backend/src/app/api/v1/internal/projects/crud.tsx]
- Added support for password, OTP, and OAuth auth methods
- Introduced
auth_method_configsarray with type-specific configurations
-
[Refactor] Update project CRUD operations [apps/backend/src/app/api/v1/projects/current/crud.tsx]
- Revised OAuth provider configuration handling
- Implemented upsert operations for auth method configs
-
[Refactor] Update project data structure in shared package [packages/stack-shared/src/interface/crud/projects.ts]
- Added new schemas for OAuth provider configs, auth method configs, and connected account configs
- Removed deprecated fields like
credential_enabledandmagic_link_enabled
-
[Feature] Update client-side components for new auth structure [packages/stack/src/components-page/auth-page.tsx]
- Modified AuthPage component to use new
enabledAuthMethodConfigs - Updated rendering logic for different auth methods
- Modified AuthPage component to use new
-
[Refactor] Update StackApp implementation [packages/stack/src/lib/stack-app.ts]
- Modified project configuration parsing to use new structure
- Updated user and project types to reflect new auth configuration
-
[Test] Update E2E tests for new project structure [apps/e2e/tests/backend/endpoints/api/v1/internal/projects.test.ts]
- Modified test cases to use new project configuration format
- Added tests for auth method configs and OAuth provider configs
Security
- No security or compliance vulnerabilities detected
- Scanned 13 changed file(s)
Changes Detected
-
[Refactor] Update project configuration structure [apps/backend/src/app/api/v1/internal/projects/crud.tsx, apps/backend/src/app/api/v1/projects/current/crud.tsx]
- Replaced
oauth_providerswithoauth_provider_configs - Added
auth_method_configsandconnected_account_configs - Updated project creation and update logic to use new structure
- Replaced
-
[Refactor] Modify project schema in shared package [packages/stack-shared/src/interface/crud/projects.ts]
- Updated
projectsCrudAdminReadSchemaandprojectsCrudClientReadSchema - Added new schemas for OAuth provider configs, auth method configs, and connected account configs
- Deprecated
credential_enabledandmagic_link_enabledfields
- Updated
-
[Refactor] Update StackApp implementation [packages/stack/src/lib/stack-app.ts]
- Modified
_clientProjectFromCrudand_adminProjectFromCrudmethods - Updated project config types to reflect new structure
- Removed deprecated
oauthProvidersfrom BaseUser type
- Modified
-
[Refactor] Update AuthPage and OAuthButtonGroup components [packages/stack/src/components-page/auth-page.tsx, packages/stack/src/components/oauth-button-group.tsx]
- Modified to use new project configuration structure
- Updated logic for displaying auth methods and OAuth buttons
-
[Bug Fix] Update OAuthButton component [packages/stack/src/components/oauth-button.tsx]
- Added fallback logic for provider IDs longer than 10 characters
-
[Refactor] Add migration for UUID provider IDs [apps/backend/prisma/migrations/20240926014352_uuid_provider_id/migration.sql]
- Added SQL to update existing records with new random UUIDs
-
[Refactor] Update version numbers and changelogs [Multiple files]
- Reverted version numbers from 2.6.0 to 2.5.37
- Removed entries for version 2.6.0 from changelogs
Security
- No security or compliance vulnerabilities detected
- Scanned 14 changed file(s)
Changes Detected
-
[Bug Fix] Fixed seed script for OAuth provider configurations [apps/backend/prisma/seed.ts]
- Updated
seed.tsto use random UUIDs for OAuth provider config IDs - Modified creation of OAuth provider configs and related entities
- Updated
-
[Refactor] Updated project configuration structure [apps/backend/src/app/api/v1/internal/projects/crud.tsx, apps/backend/src/app/api/v1/projects/current/crud.tsx]
- Restructured OAuth provider configs, auth method configs, and connected account configs
- Updated CRUD operations to handle new configuration structure
-
[Feature] Added migration for UUID provider IDs [apps/backend/prisma/migrations/20240926014352_uuid_provider_id/migration.sql]
- Created new migration to update existing records with random UUIDs
-
[Refactor] Updated project and user interfaces [packages/stack-shared/src/interface/crud/projects.ts, packages/stack/src/lib/stack-app.ts]
- Modified project configuration schemas and types
- Updated user and project interfaces to reflect new structure
-
[Refactor] Updated auth components to use new configuration structure [packages/stack/src/components-page/auth-page.tsx, packages/stack/src/components/oauth-button-group.tsx]
- Modified AuthPage and OAuthButtonGroup to use new auth method configs
- Updated logic for displaying auth options based on new configuration
-
[Chore] Reverted version numbers and changelogs [multiple files]
- Reverted version numbers in package.json files
- Removed entries for version 2.6.0 from CHANGELOG.md files
Security
- No security or compliance vulnerabilities detected
- Scanned 14 changed file(s)
Changes Detected
-
[Refactor] Update project configuration structure [apps/backend/src/app/api/v1/internal/projects/crud.tsx, apps/backend/src/app/api/v1/projects/current/crud.tsx]
- Replaced
oauth_providerswithoauth_provider_configs,auth_method_configs, andconnected_account_configs - Updated project creation and update logic to use new configuration structure
- Modified handling of authentication methods (password, OTP, OAuth)
- Replaced
-
[Feature] Add UUID-based provider IDs [apps/backend/prisma/migrations/20240926014352_uuid_provider_id/migration.sql, apps/backend/prisma/seed.ts]
- Created migration to update existing records with random UUIDs
- Updated seed script to use UUIDs for OAuth provider configurations
-
[Refactor] Update project and user interfaces [packages/stack/src/lib/stack-app.ts]
- Removed deprecated fields like
credentialEnabledandmagicLinkEnabled - Added new fields for OAuth provider configs, auth method configs, and connected account configs
- Updated user interface to remove deprecated
oauthProvidersfield
- Removed deprecated fields like
-
[Refactor] Update auth components to use new config structure [packages/stack/src/components-page/auth-page.tsx, packages/stack/src/components/oauth-button-group.tsx]
- Modified AuthPage and OAuthButtonGroup to use new
enabledAuthMethodConfigs - Updated logic for displaying credential, magic link, and OAuth options
- Modified AuthPage and OAuthButtonGroup to use new
-
[Refactor] Update project CRUD schemas [packages/stack-shared/src/interface/crud/projects.ts]
- Added new schemas for OAuth provider configs, auth method configs, and connected account configs
- Removed deprecated fields from project configuration schemas
-
[Chore] Update tests for new project configuration [apps/e2e/tests/backend/endpoints/api/v1/internal/projects.test.ts, apps/e2e/tests/backend/endpoints/api/v1/projects.test.ts]
- Updated test cases to use new project configuration structure
- Added tests for creating projects with new auth method configs and OAuth provider configs
Security
- No security or compliance vulnerabilities detected
- Scanned 14 changed file(s)
Changes Detected
-
[Bug Fix] Fixed bugs and tests [MULTIPLE FILES]
- Changes implemented across backend, dashboard, and e2e tests
- Affected components include project configuration, OAuth providers, and auth methods
- Improved handling of OAuth provider configurations and auth method configs
-
[Refactor] Updated project configuration structure [apps/backend/src/lib/projects.tsx]
- Replaced deprecated fields with new configuration structure
- Added new fields for OAuth provider configs, auth method configs, and connected account configs
- Improved type safety and consistency in project configuration
-
[Feature] Added UUID-based provider IDs [apps/backend/prisma/migrations/20240926014352_uuid_provider_id/migration.sql]
- Implemented migration to update existing records with random UUIDs
- Improved uniqueness and security of provider IDs
-
[Refactor] Updated CRUD handlers for projects [apps/backend/src/app/api/v1/internal/projects/crud.tsx]
- Refactored creation and update logic for OAuth providers and auth methods
- Improved handling of shared and standard OAuth configurations
-
[Refactor] Updated client-side components for auth [packages/stack/src/components-page/auth-page.tsx]
- Refactored auth page to use new project configuration structure
- Updated logic for displaying auth methods based on new config
-
[Refactor] Updated OAuth button group and individual buttons [packages/stack/src/components/oauth-button-group.tsx]
- Adapted components to work with new project configuration structure
- Improved handling of OAuth provider types and IDs
Security
- No security or compliance vulnerabilities detected
- Scanned 14 changed file(s)
Changes Detected
-
[Refactor] Update project configuration structure [apps/backend/src/app/api/v1/internal/projects/crud.tsx, apps/backend/src/app/api/v1/projects/current/crud.tsx]
- Replaced
oauth_providerswithoauth_provider_configs - Added
auth_method_configsandconnected_account_configs - Updated create and update logic for new configuration structure
- Replaced
-
[Refactor] Modify project schema in shared package [packages/stack-shared/src/interface/crud/projects.ts]
- Updated
projectsCrudAdminReadSchemaandprojectsCrudClientReadSchema - Added new schemas for OAuth provider configs, auth method configs, and connected account configs
- Deprecated
credential_enabledandmagic_link_enabledfields
- Updated
-
[Refactor] Update StackApp implementation [packages/stack/src/lib/stack-app.ts]
- Modified project and user data structures to use new configuration format
- Updated methods to work with new OAuth provider, auth method, and connected account configs
-
[Refactor] Update auth components [packages/stack/src/components-page/auth-page.tsx, packages/stack/src/components/oauth-button-group.tsx]
- Modified to use new project configuration structure
- Updated logic for displaying auth methods based on new config format
-
[Feature] Add UUID migration for OAuthProviderConfig [apps/backend/prisma/migrations/20240926014352_uuid_provider_id/migration.sql]
- Added migration to update existing records with new random UUIDs as strings
-
[Refactor] Update e2e tests [apps/e2e/tests/backend/endpoints/api/v1/internal/projects.test.ts, apps/e2e/tests/backend/endpoints/api/v1/projects.test.ts]
- Modified tests to use new project configuration structure
- Updated assertions to match new API responses
-
[Chore] Revert version numbers [Multiple package.json and CHANGELOG.md files]
- Reverted version numbers from 2.6.0 to 2.5.37 across multiple packages
-
[Test] Improved tests
- Updated test cases to cover new configuration structure and API changes