Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Feb 8, 2023
1 parent 41e054c commit 2932089
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ RUN poetry config virtualenvs.create false \
# copy source code ONLY after installing dependencies
COPY . /$appname
COPY ./deployment/uwsgi/uwsgi.ini /etc/uwsgi/uwsgi.ini
COPY ./bin/settings.py /var/www/sheepdog/settings.py
COPY ./bin/confighelper.py /var/www/sheepdog/confighelper.py
COPY ./bin/settings.py /var/www/$appname/settings.py
COPY ./bin/confighelper.py /var/www/$appname/confighelper.py

# install peregrine
RUN poetry config virtualenvs.create false \
Expand Down
6 changes: 3 additions & 3 deletions bin/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ def load_json(file_name):
"redirect_uri": "https://%s/api/v0/oauth2/authorize" % conf_data["hostname"],
}

config["USER_API"] = environ.get("FENCE_URL") or "http://fence-service/"
# use the public issuer URL to accquire JWT keys
config["FORCE_ISSUER"] = False
config["USER_API"] = config["OIDC_ISSUER"] # for use by authutils
# use the USER_API URL instead of the public issuer URL to accquire JWT keys
config["FORCE_ISSUER"] = True
app_init(app)
application = app
application.debug = environ.get("GEN3_DEBUG") == "True"

0 comments on commit 2932089

Please sign in to comment.