Open ndom91 opened 5 years ago
No, I haven't done that.
hi @ndom91 , did you get to do this? I'm interested in ldap too.
Cheers,
No, but if you're comfortable with it, you cuold swap Passport out for next-auth
which supports LDAP auth with a little modification. Tutorial: https://next-auth.js.org/tutorials/ldap-auth-example
I think it would need to put time I don't currently have, but out of curiosity... what do you mean with "little modification"?, hehe. I hours/minutes how much would it take to someone with very little npm experience?
Haha, so by "little modification" I just mean by following the linked tutorial. It's a bit mroe work than simply installing some packages via npm, but its not that complicated either.
sounds good. I'll give it a try. have you done it? does it work?
Yeah im a core team member of next-auth
, it does work :)
The difficult part would be forking kutt and ripping out the passport logic and replacing it with next-auth though. Unfortunatley theres no tutorial for that. Kutt is a next.js app though so it shouldn't be too difficult.
Are there any updates regarding ldap/ad auth for kutt?
Hey Guys,
Has anyone gotten LDAP Auth through Passport.js up and running?
If not I was going to take a crack at it when I get back home (visiting the parents over the holidays).
If anyone has it, can you post a gist or make pull request?