Skip to content
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

LDAP Auth via Passport #125

Open
ndom91 opened this issue Dec 22, 2018 · 8 comments
Open

LDAP Auth via Passport #125

ndom91 opened this issue Dec 22, 2018 · 8 comments
Labels
enhancement New feature or request

Comments

@ndom91
Copy link

ndom91 commented Dec 22, 2018

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?

@poeti8
Copy link
Contributor

poeti8 commented Dec 23, 2018

No, I haven't done that.

@poeti8 poeti8 closed this as completed Feb 17, 2019
@k-apc
Copy link

k-apc commented May 17, 2021

hi @ndom91 , did you get to do this? I'm interested in ldap too.

Cheers,

@ndom91
Copy link
Author

ndom91 commented May 17, 2021

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

@k-apc
Copy link

k-apc commented May 17, 2021

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?

@ndom91
Copy link
Author

ndom91 commented May 17, 2021

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.

@k-apc
Copy link

k-apc commented May 18, 2021

sounds good. I'll give it a try. have you done it? does it work?

@ndom91
Copy link
Author

ndom91 commented May 18, 2021

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.

@poeti8 poeti8 reopened this May 29, 2021
@poeti8 poeti8 added the enhancement New feature or request label May 29, 2021
@juhannc
Copy link

juhannc commented Apr 20, 2023

Are there any updates regarding ldap/ad auth for kutt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants