NREL / api-umbrella

Open source API management platform
MIT License
2.03k stars 325 forks source link

LDAP for API Umbrella Users #276

Open pradeeban opened 8 years ago

pradeeban commented 8 years ago

Hi, I have successfully configured admin log ins through various OmniAuth authentications such as Google and GitHub - https://github.com/NREL/api-umbrella/wiki/Authentication-Strategies

However, these are for admin accounts. My use case requires accounts for users (not the admins) through these other diverse means.

1) Can I get keys auto-generated from the LDAP integrated? 2) Is it possible to get the authentications for API users through the other options too, instead of just admin accounts?

I could not find documentation pointing to how these can be done. All I found was the manual sign up for API keys.

GUI commented 8 years ago

There's not a direct integration between LDAP and users/api keys. One potential idea would be to use the administrative API to programmatically create API keys for any LDAP users, though (see the section under "user" of the docs for how to create API keys). I'm not entirely sure if that approach would meet your needs, though.

pradeeban commented 8 years ago

The page you have pointed "administrative API" (https://api-umbrella.readthedocs.io/en/latest/admin/api.html) as well as "API users" https://api-umbrella.readthedocs.io/en/latest/admin/api-users/index.html are empty in the ReadTheDocs. Am I looking at a wrong place?