SSO authentication #240
-
It seems that most institutions have moved to SAML SSO. Does NEMO support this? Any way to integrate SSO to NEMO? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 18 replies
-
NEMO itself does not deal with authentication. The easiest way to use SSO with NEMO is by having SAML authentication done in Apache or Nginx and have them set a "remote user" header with the username of the authenticated user. in NEMO's
|
Beta Was this translation helpful? Give feedback.
-
Hi Paul, this instructions are referring to an old version of the image. |
Beta Was this translation helpful? Give feedback.
NEMO itself does not deal with authentication.
The easiest way to use SSO with NEMO is by having SAML authentication done in Apache or Nginx and have them set a "remote user" header with the username of the authenticated user.
in NEMO's
settings.py
, you can then:"NEMO.middleware.HTTPHeaderAuthenticationMiddleware"
to middlewaresAUTHENTICATION_BACKENDS = ["NEMO.views.authentication.RemoteUserAuthenticationBackend"]
.AUTHENTICATION_HEADER = "REMOTE_USER"
(to fetch the username from theHTTP_REMOTE_USER
header)