Skip to main content

sources_ldap_list

GET 

/sources/ldap/

LDAP Source Viewset

Request

Query Parameters

    additional_group_dn string
    additional_user_dn string
    base_dn string
    bind_cn string
    client_certificate uuid
    enabled boolean
    group_membership_field string
    group_object_filter string
    group_property_mappings uuid[]
    name string
    object_uniqueness_field string
    ordering string

    Which field to use when ordering the results.

    page integer

    A page number within the paginated result set.

    page_size integer

    Number of results to return per page.

    password_login_update_internal_password boolean
    peer_certificate uuid
    search string

    A search term.

    server_uri string
    slug string
    sni boolean
    start_tls boolean
    sync_groups boolean
    sync_parent_group uuid
    sync_users boolean
    sync_users_password boolean
    user_object_filter string
    user_property_mappings uuid[]

Responses

Schema

    pagination

    object

    required

    next numberrequired
    previous numberrequired
    count numberrequired
    current numberrequired
    total_pages numberrequired
    start_index numberrequired
    end_index numberrequired

    results

    object[]

    required

  • Array [

  • pk uuidrequired
    name stringrequired

    Source's display Name.

    slug stringrequired

    Internal source name, used in URLs.

    Possible values: <= 50 characters, Value must match regular expression ^[-a-zA-Z0-9_]+$

    enabled boolean
    authentication_flow uuidnullable

    Flow to use when authenticating existing users.

    enrollment_flow uuidnullable

    Flow to use when enrolling new users.

    user_property_mappings uuid[]
    group_property_mappings uuid[]
    component stringrequired

    Get object component so that we know how to edit the object

    verbose_name stringrequired

    Return object's verbose_name

    verbose_name_plural stringrequired

    Return object's plural verbose_name

    meta_model_name stringrequired

    Return internal model name

    policy_engine_mode PolicyEngineMode (string)

    Possible values: [all, any]

    user_matching_mode UserMatchingModeEnum (string)

    How the source determines if an existing user should be authenticated or a new user enrolled.

    Possible values: [identifier, email_link, email_deny, username_link, username_deny]

    managed Managed by authentik (string)nullablerequired

    Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.

    user_path_template string
    icon stringrequired
    server_uri urirequired
    peer_certificate uuidnullable

    Optionally verify the LDAP Server's Certificate against the CA Chain in this keypair.

    client_certificate uuidnullable

    Client certificate to authenticate against the LDAP Server's Certificate.

    bind_cn string
    start_tls Enable Start TLS (boolean)
    sni Use Server URI for SNI verification (boolean)
    base_dn stringrequired
    additional_user_dn Addition User DN (string)

    Prepended to Base DN for User-queries.

    additional_group_dn Addition Group DN (string)

    Prepended to Base DN for Group-queries.

    user_object_filter string

    Consider Objects matching this filter to be Users.

    group_object_filter string

    Consider Objects matching this filter to be Groups.

    group_membership_field string

    Field which contains members of a group.

    object_uniqueness_field string

    Field which contains a unique Identifier.

    password_login_update_internal_password boolean

    Update internal authentik password when login succeeds with LDAP

    sync_users boolean
    sync_users_password boolean

    When a user changes their password, sync it back to LDAP. This can only be enabled on a single LDAP source.

    sync_groups boolean
    sync_parent_group uuidnullable

    connectivity

    object

    nullable

    required

    Get cached source connectivity

    property name*

    object

    nullable

    property name* string
  • ]

Loading...