-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative to LDAP? #60
Comments
I've taken a look at the code and I like what I see; definitely worthy of a PR. I'm interested to hear how well the setup works for you. |
Ok, PR is here: #61
We are still trying to simplify the nginx-google-oauth code but the PHP_AUTH_* variables will remain as the way to pass user details into the PHP application. |
For reference, this is the PR opened on nginx-google-oauth to implement the retrieval of Google Directory Groups membership list of a the authenticated user. |
Thanks for reviewing and merging @thomas-pike , I am now closing this issue. |
While we had plans to use LDAP initially, we are also looking at an alternative way to pass user data (name, email and groups) into the PHP application.
As we already use Google Oauth to authenticate users, we considered using Google Directory as an alternative to LDAP.
While trying to keep this new feature generic and not dependent on Google Oauth or Google Directory, I imagined that the webserver would be responsible to get all user data and pass it via PHP variables, just like the
PHP_AUTH_USER
variable is passed already. This should be compatible with any Single-Sign-On system that can get the required user data into variables.I have a working prototype code that is not very polished yet: BrandwatchLtd@26e9e4f
In case this is an interesting feature, I can open a PR. What do you think?
The text was updated successfully, but these errors were encountered: