Commit 99a77c9a authored by William Tucker's avatar William Tucker
Browse files

Updated auth-service image to use a tagged version of the django-auth-service...

Updated auth-service image to use a tagged version of the django-auth-service and added prefix to settings
parent bfd87d03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
ARG ESGF_REPOSITORY_BASE=esgfdeploy
ARG ESGF_IMAGES_VERSION=latest
ARG GIT_REPOSITORY=https://github.com/cedadev/django-auth-service.git
ARG GIT_VERSION=master
ARG GIT_VERSION=0.2.3

FROM ${ESGF_REPOSITORY_BASE}/python-build:${ESGF_IMAGES_VERSION} as python-build

+14 −0
Original line number Diff line number Diff line
@@ -6,18 +6,6 @@ INSTALLED_APPS = [
    'authenticate',
]

MIDDLEWARE = [
    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
    'authenticate.oauth2.middleware.BearerTokenAuthenticationMiddleware',
    'authenticate.oidc.middleware.OpenIDConnectAuthenticationMiddleware',
    'authorize.middleware.SAMLAuthorizationMiddleware',
]

ROOT_URLCONF = 'auth_service.urls'
WSGI_APPLICATION = 'auth_service.wsgi.application'