Skip to content

Commit

Permalink
Fix: Swagger UI is broken on prod (#3090, #3087, PR #3091)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadove-ucsc committed Jun 7, 2021
2 parents 1280674 + 350d98f commit 17c5354
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ deployment.
edit

4. Add an entry to *Authorized JavaScript origins* and enter the output from
`python3 -c 'from azul import config; print(config.service_endpoint()'`
`python3 -c 'from azul import config; print(config.service_endpoint())'`

5. Add an entry to *Authorized redirect URIs*. Append `/oauth2_redirect` to the
value of the previous field and enter the resulting value.
Expand Down
4 changes: 4 additions & 0 deletions deployments/prod/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,8 @@ def env() -> Mapping[str, Optional[str]]:
'AWS_DEFAULT_REGION': 'us-east-1',

'GOOGLE_PROJECT': 'platform-hca-prod',

# FIXME: Unset once the client ID becomes optional
# https://github.com/DataBiosphere/azul/issues/3088
'AZUL_GOOGLE_OAUTH2_CLIENT_ID': '473200283737-h5e1l7neunbuesrtgjf8b12lb7o3jf1m.apps.googleusercontent.com',
}

0 comments on commit 17c5354

Please sign in to comment.