diff --git a/gql/schemas.gql b/gql/schemas.gql index 8cc3cbc..9abdaa8 100644 --- a/gql/schemas.gql +++ b/gql/schemas.gql @@ -333,7 +333,7 @@ type Identity { openid: String userIdInIdp: String userId: String - connectionId: String + extIdpId: String isSocial: Boolean provider: String userPoolId: String diff --git a/lib/constant/gql.go b/lib/constant/gql.go index 609d844..7e851b8 100644 --- a/lib/constant/gql.go +++ b/lib/constant/gql.go @@ -510,7 +510,7 @@ const UsersWithCustomDocument = ` openid userIdInIdp userId - connectionId + extIdpId isSocial provider type diff --git a/lib/constant/gql_manage_user.go b/lib/constant/gql_manage_user.go index db8811c..f4ca58e 100644 --- a/lib/constant/gql_manage_user.go +++ b/lib/constant/gql_manage_user.go @@ -201,7 +201,7 @@ query userBatch($ids: [String!]!, $type: String) { openid userIdInIdp userId - connectionId + extIdpId isSocial provider type @@ -268,7 +268,7 @@ query userBatchWithCustomData($ids: [String!]!, $type: String) { openid userIdInIdp userId - connectionId + extIdpId isSocial provider type diff --git a/lib/management/organization_management_client_test.go b/lib/management/organization_management_client_test.go index d51065f..9ab7e9f 100644 --- a/lib/management/organization_management_client_test.go +++ b/lib/management/organization_management_client_test.go @@ -48,7 +48,7 @@ func TestClient_All(t *testing.T) { func TestClient_Detail(t *testing.T) { client := NewClient(userPoolId, appSecret) log.Println("==========通过 ID 获取用户信息==========") - resp2, _ := client.Detail("611a149db64310ca4764ab15") + resp2, _ := client.Detail("61e7fc4beff20c6bd8b81e4d") log.Printf("%+v\n", resp2) } func TestClient_GetOrganizationList(t *testing.T) {