diff --git a/apps/login/mock/mocked-services.cfg b/apps/login/mock/mocked-services.cfg index 33b1ae05..58938f40 100644 --- a/apps/login/mock/mocked-services.cfg +++ b/apps/login/mock/mocked-services.cfg @@ -1,6 +1,6 @@ -zitadel/user/v2alpha/user_service.proto -zitadel/session/v2alpha/session_service.proto -zitadel/settings/v2alpha/settings_service.proto +zitadel/user/v2beta/user_service.proto +zitadel/session/v2beta/session_service.proto +zitadel/settings/v2beta/settings_service.proto zitadel/management.proto zitadel/auth.proto zitadel/admin.proto \ No newline at end of file diff --git a/apps/login/ui/SignInWithIDP.tsx b/apps/login/ui/SignInWithIDP.tsx index 7f45f004..a7788415 100644 --- a/apps/login/ui/SignInWithIDP.tsx +++ b/apps/login/ui/SignInWithIDP.tsx @@ -19,7 +19,7 @@ export interface SignInWithIDPProps { } const START_IDP_FLOW_PATH = (idpId: string) => - `/v2alpha/users/idps/${idpId}/start`; + `/v2beta/users/idps/${idpId}/start`; export function SignInWithIDP({ host, diff --git a/packages/zitadel-server/src/index.ts b/packages/zitadel-server/src/index.ts index 1b7ad8f3..1b6bfb5a 100644 --- a/packages/zitadel-server/src/index.ts +++ b/packages/zitadel-server/src/index.ts @@ -4,47 +4,47 @@ import * as user from "./v2/user"; import * as oidc from "./v2/oidc"; import * as management from "./management"; -import * as login from "./proto/server/zitadel/settings/v2alpha/login_settings"; -import * as password from "./proto/server/zitadel/settings/v2alpha/password_settings"; -import * as legal from "./proto/server/zitadel/settings/v2alpha/legal_settings"; +import * as login from "./proto/server/zitadel/settings/v2beta/login_settings"; +import * as password from "./proto/server/zitadel/settings/v2beta/password_settings"; +import * as legal from "./proto/server/zitadel/settings/v2beta/legal_settings"; export { BrandingSettings, Theme, -} from "./proto/server/zitadel/settings/v2alpha/branding_settings"; +} from "./proto/server/zitadel/settings/v2beta/branding_settings"; export { LoginSettings, IdentityProvider, IdentityProviderType, -} from "./proto/server/zitadel/settings/v2alpha/login_settings"; +} from "./proto/server/zitadel/settings/v2beta/login_settings"; export { RequestChallenges, Challenges, Challenges_WebAuthN, -} from "./proto/server/zitadel/session/v2alpha/challenge"; +} from "./proto/server/zitadel/session/v2beta/challenge"; export { GetAuthRequestRequest, GetAuthRequestResponse, CreateCallbackRequest, CreateCallbackResponse, -} from "./proto/server/zitadel/oidc/v2alpha/oidc_service"; +} from "./proto/server/zitadel/oidc/v2beta/oidc_service"; export { AuthRequest, Prompt, -} from "./proto/server/zitadel/oidc/v2alpha/authorization"; +} from "./proto/server/zitadel/oidc/v2beta/authorization"; export { Session, Factors, -} from "./proto/server/zitadel/session/v2alpha/session"; +} from "./proto/server/zitadel/session/v2beta/session"; export { IDPInformation, IDPLink, -} from "./proto/server/zitadel/user/v2alpha/idp"; +} from "./proto/server/zitadel/user/v2beta/idp"; export { ListSessionsResponse, GetSessionResponse, @@ -52,7 +52,7 @@ export { SetSessionResponse, SetSessionRequest, DeleteSessionResponse, -} from "./proto/server/zitadel/session/v2alpha/session_service"; +} from "./proto/server/zitadel/session/v2beta/session_service"; export { GetPasswordComplexitySettingsResponse, GetBrandingSettingsResponse, @@ -62,7 +62,7 @@ export { GetLoginSettingsRequest, GetActiveIdentityProvidersResponse, GetActiveIdentityProvidersRequest, -} from "./proto/server/zitadel/settings/v2alpha/settings_service"; +} from "./proto/server/zitadel/settings/v2beta/settings_service"; export { AddHumanUserResponse, AddHumanUserRequest, @@ -80,15 +80,15 @@ export { StartIdentityProviderIntentResponse, RetrieveIdentityProviderIntentRequest, RetrieveIdentityProviderIntentResponse, -} from "./proto/server/zitadel/user/v2alpha/user_service"; +} from "./proto/server/zitadel/user/v2beta/user_service"; export { SetHumanPasswordResponse, SetHumanPasswordRequest, } from "./proto/server/zitadel/management"; export * from "./proto/server/zitadel/idp"; -export { type LegalAndSupportSettings } from "./proto/server/zitadel/settings/v2alpha/legal_settings"; -export { type PasswordComplexitySettings } from "./proto/server/zitadel/settings/v2alpha/password_settings"; -export { type ResourceOwnerType } from "./proto/server/zitadel/settings/v2alpha/settings"; +export { type LegalAndSupportSettings } from "./proto/server/zitadel/settings/v2beta/legal_settings"; +export { type PasswordComplexitySettings } from "./proto/server/zitadel/settings/v2beta/password_settings"; +export { type ResourceOwnerType } from "./proto/server/zitadel/settings/v2beta/settings"; import { getServers, diff --git a/packages/zitadel-server/src/v2/oidc/index.ts b/packages/zitadel-server/src/v2/oidc/index.ts index 973dbdb6..11bff5c4 100644 --- a/packages/zitadel-server/src/v2/oidc/index.ts +++ b/packages/zitadel-server/src/v2/oidc/index.ts @@ -1,2 +1,2 @@ export * from "./oidc"; -export * from "../../proto/server/zitadel/oidc/v2alpha/oidc_service"; +export * from "../../proto/server/zitadel/oidc/v2beta/oidc_service"; diff --git a/packages/zitadel-server/src/v2/session/index.ts b/packages/zitadel-server/src/v2/session/index.ts index cc86a9f3..c11476a6 100644 --- a/packages/zitadel-server/src/v2/session/index.ts +++ b/packages/zitadel-server/src/v2/session/index.ts @@ -1,2 +1,2 @@ export * from "./session"; -export * from "../../proto/server/zitadel/session/v2alpha/session"; +export * from "../../proto/server/zitadel/session/v2beta/session"; diff --git a/packages/zitadel-server/src/v2/session/session.ts b/packages/zitadel-server/src/v2/session/session.ts index 4569fa4d..83acd2e3 100644 --- a/packages/zitadel-server/src/v2/session/session.ts +++ b/packages/zitadel-server/src/v2/session/session.ts @@ -3,7 +3,7 @@ import { CompatServiceDefinition } from "nice-grpc/lib/service-definitions"; import { SessionServiceClient, SessionServiceDefinition, -} from "../../proto/server/zitadel/session/v2alpha/session_service"; +} from "../../proto/server/zitadel/session/v2beta/session_service"; import { ZitadelServer, createClient, getServers } from "../../server"; diff --git a/packages/zitadel-server/src/v2/settings/index.ts b/packages/zitadel-server/src/v2/settings/index.ts index 3f58216c..7fdbfd0f 100644 --- a/packages/zitadel-server/src/v2/settings/index.ts +++ b/packages/zitadel-server/src/v2/settings/index.ts @@ -1,2 +1,2 @@ export * from "./settings"; -export * from "../../proto/server/zitadel/settings/v2alpha/settings"; +export * from "../../proto/server/zitadel/settings/v2beta/settings"; diff --git a/packages/zitadel-server/src/v2/settings/settings.ts b/packages/zitadel-server/src/v2/settings/settings.ts index 3adcf32a..6c621253 100644 --- a/packages/zitadel-server/src/v2/settings/settings.ts +++ b/packages/zitadel-server/src/v2/settings/settings.ts @@ -3,7 +3,7 @@ import { CompatServiceDefinition } from "nice-grpc/lib/service-definitions"; import { SettingsServiceClient, SettingsServiceDefinition, -} from "../../proto/server/zitadel/settings/v2alpha/settings_service"; +} from "../../proto/server/zitadel/settings/v2beta/settings_service"; import { ZitadelServer, createClient, getServers } from "../../server"; diff --git a/packages/zitadel-server/src/v2/user/index.ts b/packages/zitadel-server/src/v2/user/index.ts index df27d619..75d422bc 100644 --- a/packages/zitadel-server/src/v2/user/index.ts +++ b/packages/zitadel-server/src/v2/user/index.ts @@ -1,2 +1,2 @@ export * from "./user"; -export * from "../../proto/server/zitadel/user/v2alpha/user"; +export * from "../../proto/server/zitadel/user/v2beta/user"; diff --git a/packages/zitadel-server/src/v2/user/user.ts b/packages/zitadel-server/src/v2/user/user.ts index 1c86a0df..d7f38cb2 100644 --- a/packages/zitadel-server/src/v2/user/user.ts +++ b/packages/zitadel-server/src/v2/user/user.ts @@ -3,7 +3,7 @@ import { CompatServiceDefinition } from "nice-grpc/lib/service-definitions"; import { UserServiceClient, UserServiceDefinition, -} from "../../proto/server/zitadel/user/v2alpha/user_service"; +} from "../../proto/server/zitadel/user/v2beta/user_service"; import { ZitadelServer, createClient, getServers } from "../../server";