Giter Club home page Giter Club logo

Comments (5)

dsbarth avatar dsbarth commented on August 18, 2024 1

Hi Sebastien,
At Princeton, we are running this with local DB based authentication. You can see the code in my branch, and I'm happy to talk it over with you.
-David

from nemo.

rptmat57 avatar rptmat57 commented on August 18, 2024 1

Salut Sebastien,
Your best bet is to customize NEMO's code or use the Princeton Branch. You will have to build your own docker image and maintain/update it yourself.
Their is no easy way to do this directly with the docker image as is.

However, there are docker images for ldap servers and you could also try something like KeyCloak from RedHat.
It would then be very easy to connect the 2.

Hésites pas si tu as d'autres questions

from nemo.

rptmat57 avatar rptmat57 commented on August 18, 2024 1

Hi,
what are you custom changes? if it's something that would make sense to have configurable I would be willing to make that change in NEMO.
To build your docker image from your code, all you have to do is to run docker build --tag my_nemo . from the root directory where NEMO's code is, and that will build you a docker image with the image name "my_nemo"

from nemo.

sbonaime avatar sbonaime commented on August 18, 2024

I worked to use our own internal LDAP for the authentification. But I had to modify few lines of NEMO/views/authentication.py because our LDAP is a little special.

I saw on the docker documentation that "A decoupled "REMOTE_USER" method" and "# NEMO can integrate with a custom Identity Service to manage user accounts on # related computer systems, which streamlines user onboarding and offboarding."

Can I use those options to add my "custom LDAP authentication" without having to build my docker image ?
Is it difficult to build a docker image ? Is there some documentation for NEMO ?
Thank you

# There are two options to authenticate users:
#   1) A decoupled "REMOTE_USER" method (such as Kerberos authentication from a reverse proxy)
#   2) LDAP authentication from NEMO itself
AUTHENTICATION_BACKENDS = ['NEMO.views.authentication.LDAPAuthenticationBackend']

# Specify your list of LDAP authentication servers only if you choose to use LDAP authentication
LDAP_SERVERS = [
	{
		'url': 'ldap.another.org',
		'domain': 'ANOTHER',
		'certificate': '/nemo/secrets/root.crt',
	}
]

# NEMO can integrate with a custom Identity Service to manage user accounts on
# related computer systems, which streamlines user onboarding and offboarding.
IDENTITY_SERVICE = {
	'available': False,
	'url': 'https://identity.example.org/',
	'domains': ['EXAMPLE', 'ANOTHER'],
}

from nemo.

sbonaime avatar sbonaime commented on August 18, 2024

Our LDAP is kind of specific. I don't think it is usefull to create an option for that.
I made some modification in NEMO/views/authentication.py and I can now login :-)

Thank you

from nemo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.