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

Update kong endpoints #14

Closed bskiefer closed 5 years ago

bskiefer commented 5 years ago

Updated endpoints to Kong v1+ (currently working in 1.2)

I modified the LDAP class to fit a custom auth schema, but the attached changes should follow through to the existing LDAP methods.

Feel free to throw this out. This is my first python project, but it works for my needs so I figured I'd let you know.

rmetcalf9 commented 5 years ago

Thanks for the push! This is the first time anyone has submitted something to one of my repos - Hopefully that means the code is giving you some value.

The code looks good to me

bskiefer commented 5 years ago

Definitely giving me value! Especially after the $150k enterprise price tag ;)