Skip to content

Commit

Permalink
fix(api): FORCE_ISSUER
Browse files Browse the repository at this point in the history
try to get it to use internal fence endpoint
  • Loading branch information
frickjack committed Jun 12, 2019
1 parent f776861 commit 2ce8bd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifestservice/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def create_app():
app.config[key] = config_dict[key]

app.config['USER_API'] = os.environ.get('FENCE_URL') or 'http://fence-service/'
# use the USER_API URL instead of the public issuer URL to accquire JWT keys
app.config['FORCE_ISSUER'] = True

app.config["OIDC_ISSUER"] = "https://%s/user" % config_dict["hostname"]
app.config["MANIFEST_BUCKET_NAME"] = config_dict["manifest_bucket_name"]

Expand Down

0 comments on commit 2ce8bd7

Please sign in to comment.