APIIDA API Gateway Manager

LDAP Login return 504 error message

When trying to login you might see a 504 error message. This indicates that your LDAP Identity Provider took to long to respond. We suggest to set the Base DN as specific as possible, so that your identity provider has less options to search the user logging in.

You can also limit the time the API Gateway Manager waits for your LDAP search to return by setting a timeout in the options field of the LDAP configuration. But be aware that this allows the Gateway Manager to show a pretty error page instead of that generic 504 one, but will not solve the issue of logging in. The only way to solve that is to speed up the LDAP search. Either (as we suggested above) by changing the Base DN or by allowing your LDAP server to use more resources.