api-docs cannot be accessed by LDAP enabled user, points to /?error instead
search cancel

api-docs cannot be accessed by LDAP enabled user, points to /?error instead

book

Article ID: 411924

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

When attempting to reach the api-docs endpoint, http://[AM Server name]:[REST port]/api-docs, in Applications Manager 9.6.1 with a user that has LDAP authentication enabled, the user is directed to http://[AM Server name]:[REST port]/?error instead

 

  1. Have the Master's agent set up for LDAP connections
  2. Create a user that has LDAP Authentication enabled
  3. Make sure that user can log into AM
  4. Point a browser to http://[AM Server name]:[REST port]/api-docs
  5. Log in as a non-LDAP user

    http://[AM Server name]:[REST port]/api-docs/swagger-ui/index.html

  6. Close and re-open the browser or open a new incognito session
  7. Point the browser to http://[AM Server name]:[REST port]/api-docs
  8. Log in as a LDAP Authenticated user

    Expected behavior:
    Redirected to http://[AM Server name]:[REST port]/api-docs/swagger-ui/index.html like it is with a non-LDAP user

    Actual behavior:
    http://[AM Server name]:[REST port]/?error

Environment

Version 9.6.1

Resolution

A fix was released for this with Application Manager 9.6.2, released in December of 2025.