NetBrain REST API (Login) fails with correct credentials

    Problem:

    API to get token fails with error message Incorrect username/password credentials even when the correct credentials (AD account) are provided.

    Root case:

    This issue happens when the user account belongs to an External Authentication LDAP/AD account group.
     

    Resolution:

    The login API body should contain a key value pair like highlighted below:

    {

        "username": "sample_username",

        "password": "sample_password",

        "authentication_id": "AD_account_name"

    }

    The AD_account_name value can be found in the System Management portal:

    Navigate to System Management > User Accounts > External Authentication

     

    Integrated Edition 8.0Integrated Edition 8.01Integrated Edition 8.02Integrated Edition 8.03


    Tags

    REST APIs

    « Previous Article


    1.4 (65)


    Comments

    ABC12/11/2020 2:03 PM

    Testing public comments

    Anakin12/16/2020 3:30 PM

    Test Comment by a Guest User


    About the Author
    Subscription
    Follow Knowledge Base posts
    Please enter your email address to subscribe:

    Email:
    Subscribe
    Knowledge Base Categories:
    Tags