Omero.web using RemoteUserMiddleware

We have a requirement to secure a public facing omero.web instance with our institution’s SSO (and 2FA). We planned have this authentication done in a web proxy in front of omero.web, which would then set the value of the authenicated user as a HTTP header to omero.web. Is there documentation on setting up Omero.web with django’s RemoteUserMiddleware? Has this been done before? Will it require code changes or only configuration changes to add the middleware?

Hi @anthonycor,

I have no experience with RemoteUserMiddleware, so I’ll leave others to comment on that, but you may want to take a look at for one strategy of having a service which logs in users based on other criteria.