2

I am only getting started with WSO2 Identity Server.

What do I need? - getting verification from LDAP server that user (entry) is existing there through WSO2 Identity Server.

Is it possible? Can I do this by adding a new identity Provider in https://localhost:9444/carbon/?

Any ideas or help.

Sorry, if my question is dumb.

Community
  • 1
  • 1
Maksym
  • 2,650
  • 3
  • 32
  • 50

1 Answers1

2

Identity server comes with an embedded LDAP server as its primary userstore. But you can change userstore configurations so that IS works with your LDAP too. You also can add your LDAP as a secondary userstore as well.

After that, if you go to User and Roles section in UI, you should see Users and Roles existing in your LDAP.

Bee
  • 12,251
  • 11
  • 46
  • 73
  • Thanks for response. Will try it tomorrow. – Maksym Nov 20 '16 at 21:12
  • I need something like 'Federated Authenticators'. For example, we have user that is not known to WSO2, and then WSO2 is just forwarding and getting verification from LDAP that user is existing there. And then I need (RESTful) API that will give a token for authorization. – Maksym Nov 21 '16 at 10:03
  • I have added secondary users store to IS. How can I do authentication using new USER and PASSWORD from LDAP? Can I generate token through RESTful API or something else? – Maksym Nov 21 '16 at 14:44
  • You can create a service provider and configure oauth2 application. https://docs.wso2.com/display/IS520/Configuring+Inbound+Authentication+for+a+Service+Provider then you can call token api to get oauth2 tokens. https://docs.wso2.com/display/IS520/Resource+Owner+Password+Credentials+Grant – Bee Nov 21 '16 at 16:36
  • If you want to secure your REST APIs with OAuth2 and manage them, you can use WSO2 API Manager too. http://wso2.com/products/api-manager/ It provides OAuth2 token based security for your REST APIs out of the box. – Bee Nov 21 '16 at 16:38
  • Thank you for your attention to this matter. This helped me a lot. – Maksym Nov 21 '16 at 16:53
  • I will be really grateful if you @Bhathiya look at my next question http://stackoverflow.com/questions/40749152/cross-domain-ajax-requests-wso2-is . ) And in any case, thank you. – Maksym Nov 23 '16 at 11:07