rmetcalf9 / kong_ldap_login_endpoint

A flask python application creates a login endpoint that authenticates a user with an LDAP server, adds a consumer for the user to a Kong API gateway giving the caller a JWT token.
MIT License
6 stars 1 forks source link

Ensure this works with 0 whitelist groups #4

Closed rmetcalf9 closed 6 years ago

rmetcalf9 commented 6 years ago

Check this works wit h0 whitelist groups. Although there would be no use case for running like this - the LDAP plugin will provide similar functionality wy still want to hand off LDAP to JWT.

rmetcalf9 commented 6 years ago

Added a test for this case and also tested with samplePythonClient