I have an existing API that I am transferring to Tyk, all requests are authenticated via basic auth.
I’d like to take the username/pw in the basic auth Authorization header for inbound API calls going through the gateway, and have it validated against my ldap server.
How can I do this? The LDAP IDP integration only seems to be for the portal/dashboard?
Any examples of this out there? The ones described on the README seem to be around presenting login, form, generating tokens, redirects etc?
I just want something that will take the authorization header, bind that uname/pw against ldap, and do nothing else. If OK, let request proceed, of FAIL return 500. No token generations, redirects etc