Skip to main content

List Social Logins

POST 

/users/:userId/idps/_search

Returns a list of all linked identity providers/social logins of the user. (e. Google, Microsoft, AzureAD, etc.)

Request

Path Parameters

    userId stringrequired

Header Parameters

    x-zitadel-orgid string

    The default is always the organization of the requesting user. If you like to get the result of another organization include the header. Make sure the user has permission to access the requested data.

Body

required

    query

    object

    Object unspecific list filters like offset, limit and asc/desc.

    offset uint64
    limit int64

    Maximum amount of events returned. The default is set to 1000 in https://github.com/zitadel/zitadel/blob/new-eventstore/cmd/zitadel/startup.yaml. If the limit exceeds the maximum configured ZITADEL will throw an error. If no limit is present the default is taken.

    asc boolean

    default is descending

Responses

A successful response.

Schema

    details

    object

    totalResult uint64
    processedSequence uint64
    viewTimestamp date-time

    the last time the view got updated

    result

    object[]

  • Array [

  • userId string

    the id of the user

    idpId string

    the id of the identity provider

    idpName string

    the name of the identity provider

    providedUserId string

    the id of the user provided by the identity provider

    providedUserName string

    the id of the identity provider

    idpType authorization framework of the identity provider (string)

    Possible values: [IDP_TYPE_UNSPECIFIED, IDP_TYPE_OIDC, IDP_TYPE_JWT]

    Default value: IDP_TYPE_UNSPECIFIED

    the authorization framework of the identity provider

  • ]

Loading...