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

Active Directory integration #60

Open
tayfunyy opened this issue Dec 27, 2021 · 2 comments
Open

Active Directory integration #60

tayfunyy opened this issue Dec 27, 2021 · 2 comments

Comments

@tayfunyy
Copy link

How should I go about authenticating with Active Directory?
Thankx

@psanford
Copy link
Contributor

Not sure exactly what you are asking. Does your active directory server support radius? If so look at the radius client example: https://github.com/retailnext/node-radius/blob/master/examples/auth_client.js

If you are asking how can you use active directory as a backend for a node-radius based radius server, you will have to implement that yourself.

A long time ago we implemented a radius server that would auth to an ldap server using http://ldapjs.org/. I would guess the flow would be similar with AD, but I don't know enough about AD to say for sure. I think the best we can offer you is to look at the example server: https://github.com/retailnext/node-radius/blob/master/examples/auth_server.js.

You might also look at packages that import node-radius: https://github.com/retailnext/node-radius/network/dependents. Just from skimming that list I see this project that might be relevant to what you are trying to do: https://github.com/nick81/radius-proxy. I can't speak for the quality/safety/correctness of any projects using node-radius, you will need to evaluate them yourself.

@nkarabulut381
Copy link

You can use the example here for validation with Active Directory.

https://github.com/micro23xd/radius-2fa-ad-sms

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

No branches or pull requests

3 participants