How to use LDAP Server in 3-Legged OAuth Application

Not applicable

During Applyig 3-Legged OAuth to API Proxy how to use LDAP Server

1 3 1,943
3 REPLIES 3

you want to use it for user authentication during the oauth flow? in that case, you could use http://apigee.com/docs/api-services/reference/ldap-policy

and pls review this for more information,

http://apigee.com/docs/api-services/content/oauth-v2-policy-authorization-code-grant-type

Former Community Member
Not applicable

@Karan Meheta also the LDAP policy is only available for on-prem/private cloud version of Apigee Edge, not the cloud version.

Please take a look at the excellent, and recently revised end-to-end 3-legged OAuth sample (authorization code grant type). This example doesn't use LDAP specifically, but it does have an independent "user store" app that could be switched out for an LDAP user store. Here's what the README has to say about this user store:

user-mgmt-v1 -- A key/value store implementation for storing the user's login information. Implemented as an API proxy and deployed on Apigee Edge. An interface to any user management system could be plugged in here, such as LDAP.