From 2a082efae0ed496eb3fcac92600bbc67561d0765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Wed, 18 Feb 2026 18:58:25 +0400 Subject: [PATCH] Fix after rebase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- pkg/server/api/connect/v1/schema/schema.go | 9 +++++++++ pkg/server/api/connect/v1/types/types.go | 1 + 2 files changed, 10 insertions(+) diff --git a/pkg/server/api/connect/v1/schema/schema.go b/pkg/server/api/connect/v1/schema/schema.go index 0c15180d4..3885e7ee3 100644 --- a/pkg/server/api/connect/v1/schema/schema.go +++ b/pkg/server/api/connect/v1/schema/schema.go @@ -156,6 +156,7 @@ type ComplexityRoot struct { PersonalAPIKeys func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey) int Profiles func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ProfileOrderBy, filter *types.ProfileFilter) int Sessions func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.SessionOrder) int + SsoLoginURL func(childComplexity int) int UpdatedAt func(childComplexity int) int } @@ -875,6 +876,12 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin } return e.complexity.Identity.Sessions(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.SessionOrder)), true + case "Identity.ssoLoginURL": + if e.complexity.Identity.SsoLoginURL == nil { + break + } + + return e.complexity.Identity.SsoLoginURL(childComplexity), true case "Identity.updatedAt": if e.complexity.Identity.UpdatedAt == nil { break @@ -9786,6 +9793,8 @@ func (ec *executionContext) fieldContext_Profile_identity(_ context.Context, fie return ec.fieldContext_Identity_sessions(ctx, field) case "personalAPIKeys": return ec.fieldContext_Identity_personalAPIKeys(ctx, field) + case "ssoLoginURL": + return ec.fieldContext_Identity_ssoLoginURL(ctx, field) case "permission": return ec.fieldContext_Identity_permission(ctx, field) } diff --git a/pkg/server/api/connect/v1/types/types.go b/pkg/server/api/connect/v1/types/types.go index 886b6c0e2..a84d2dbf3 100644 --- a/pkg/server/api/connect/v1/types/types.go +++ b/pkg/server/api/connect/v1/types/types.go @@ -200,6 +200,7 @@ type Identity struct { Profiles *ProfileConnection `json:"profiles,omitempty"` Sessions *SessionConnection `json:"sessions,omitempty"` PersonalAPIKeys *PersonalAPIKeyConnection `json:"personalAPIKeys,omitempty"` + SsoLoginURL *string `json:"ssoLoginURL,omitempty"` Permission bool `json:"permission"` }