revenz / Fenrus

A personal home page for quick access to all your personal apps/sites.
MIT License
518 stars 31 forks source link

Feature/ldap support #146

Closed thiagobucca closed 1 year ago

thiagobucca commented 1 year ago

Feature Proposal:

This PR aims to add LDAP support in Fenrus.

I've put on a new Strategy called "LDAPStrategy" to give support to LDAP integration, basically it functions like the Local strategy with just two differences:

  1. When the user tries to Log In, Fenrus will hit the configured LDAP to check if this user exists, if this is true, Fenrus would automaticaly register this user in local database just like the Local strategy

  2. Regular registration in this strategy is disabled, as in this scenario, the user should already exists in LDAP itself.

Requirements are:

.env file with the AD credentials

revenz commented 1 year ago

the node branch is dead, and moving forward the dotnet code will be used. dotnet I'm currently working on, but will soon replace node.

switching to dotnet makes managing this application easier, as it grew to something larger than original intended with the support of terminals, uptime recording etc. and I have some other ideas to add to it.