Does WSO2 have any API for LDAP user validation? Regards Shib
On Mon, Jun 11, 2018 at 2:57 PM, shibsankar <src...@gmail.com> wrote: > Let me explain in detail what I plan to achieve. > > > Step 1: User will login to my web application (angular js front end). > > *Step 2: I want to validate these users against LDAP User Store configured > in WSO2* > > Step 3: Once these users are authenticated, I plan to invoke token API > with password grant to obtain an OAuth 2 token. > > Step 4: Once I receive the OAuth2 token, I would invoke APIM to get a > response from backend rest API. > > > I'm at *Step 2. * Can we authenticate logged in users against WSO2 LDAP > user store? whats the curl command for this? > > Regards > Shib > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#m_-3943128146528446382_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > On Mon, Jun 11, 2018 at 2:34 PM, Dinusha Dissanayake <dinus...@wso2.com> > wrote: > >> Hi Shib, >> >> I guess you are authenticating the user to perform certain operations in >> APIM through rest APIs ?. >> Please refer the documentation[1] which includes details of our REST APIs >> (store/publisher and admin portal). There it has explained what you have to >> do to get the necessary access tokens before invocation those rest APIs. >> Please refer the "Getting started" section of any of the subsections (eg >> [2] ) for necessary details. >> >> [1] https://docs.wso2.com/display/AM210/RESTful+APIs >> [2] https://docs.wso2.com/display/AM210/apidocs/store/#guide >> >> >> >> On Mon, Jun 11, 2018 at 2:21 PM, shibsankar <src...@gmail.com> wrote: >> >>> I have configured LDAP as a User Store in WSO2 (*screenshot attached*). >>> This is okay. >>> >>> Now I plan to send an LDAP user id & password through *Postman *to >>> WSO2 server to verify successful authentication. >>> >>> Could you please tell which WSO2 URL to invoke and what parameters to >>> pass through *Postman* to test successful authentication? >>> >>> Regards >>> Shib >>> >>> >>> On Mon, Jun 11, 2018 at 12:46 PM, Dinusha Dissanayake <dinus...@wso2.com >>> > wrote: >>> >>>> Hi Shib, >>>> >>>> Yes you can. But you may need to configure LDAP as a user store first. >>>> >>>> Please follow the document[1] to configure use stores. >>>> >>>> [1] https://docs.wso2.com/display/AM210/Configuring+User+Stores >>>> >>>> Thanks, >>>> DinushaD >>>> >>>> On Mon, Jun 11, 2018 at 12:42 PM, shibsankar <src...@gmail.com> wrote: >>>> >>>>> Hi, >>>>> I have an LDAP with user credentials. >>>>> >>>>> Can I use LDAP user credentials as password grant to generating Oauth >>>>> 2 token? >>>>> >>>>> >>>>> *Please see the screenshot attached.* >>>>> >>>>> Regards >>>>> Shib >>>>> >>>>> >>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >>>>> Virus-free. >>>>> www.avast.com >>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> >>>>> <#m_-3943128146528446382_m_5925729601328441019_m_4045808147317074170_m_3545910350936696630_m_-7733728954474898531_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >>>>> >>>> >>>> >>>> >>>> -- >>>> Dinusha Dissanayake >>>> Software Engineer >>>> WSO2 Inc >>>> Mobile: +94712939439 >>>> <https://wso2.com/signature> >>>> >>> >>> >> >> >> -- >> Dinusha Dissanayake >> Software Engineer >> WSO2 Inc >> Mobile: +94712939439 >> <https://wso2.com/signature> >> > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev