I tried same authentication setting on 3.18.1. It works fine with the postsql db installed on the same host but got a "500 internal Server Error" when connect to an external db. The db is not a issue because if I remove the settings, it works for both local and external db. I didn't find any useful logs. Can someone guide me how to troubleshot this issue?
From: Bin Li (BLOOMBERG/ 120 PARK) At: 03/10/22 10:42:23 UTC-5:00To: pulp-list@redhat.com Subject: webserver authentication We are currently use the below setting for webserver authentication. It doesn't work anymore in 3.15. Does anyone know what should be the new setting? REMOTE_USER_ENVIRON_NAME: 'HTTP_REMOTE_USER' AUTHENTICATION_BACKENDS: ['pulpcore.app.authentication.PulpNoCreateRemoteUserBackend'] REST_FRAMEWORK__DEFAULT_AUTHENTICATION_CLASSES: ['rest_framework.authentication.SessionAuthentication', 'pulpcore.app.authentication.PulpRemoteUserAuthentication']
_______________________________________________ Pulp-list mailing list Pulp-list@redhat.com https://listman.redhat.com/mailman/listinfo/pulp-list