-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HP-1520 Fix/ct gov #2556
HP-1520 Fix/ct gov #2556
Conversation
@@ -114,7 +114,7 @@ def update_filter_metadata(metadata_to_update): | |||
|
|||
def get_client_token(client_id: str, client_secret: str): | |||
try: | |||
token_url = f"http://revproxy-service/user/oauth2/token" | |||
token_url = "http://revproxy-service/user/oauth2/token" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change this to https
? Snyk is throwing this url as an error. I know that this is hitting reverse proxy but I think that https will still probably work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I wasn't sure if https would work, I was going to tell security this is a false-positive. But I can definitely test the https change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, actually, it doesn't look like https gonna work for revproxy 😕 https://github.com/uc-cdis/cloud-automation/blob/master/kube/services/revproxy/revproxy-service.yaml#L8-L12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, had a small chat with Jawad about this and it won't work as handling certs for all the services would be a huge issue we would have to maintain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good! Thanks for moving everything to the correct service rather than the revproxy.
Link to JIRA ticket if there is one: https://ctds-planx.atlassian.net/browse/HP-1520
To support clinicaltrials.gov API V2 for HEAL CEDAR ingestion job
Improvements