Skip to content

Commit

Permalink
[DUOS-436][risk=no] Add app id to all FC calls (#202)
Browse files Browse the repository at this point in the history
* add app id to all FC calls

* mock nih in dev
  • Loading branch information
rushtong authored Sep 10, 2019
1 parent dd75653 commit 3128c33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"clientId": "1087760099392-u18o6sqvb8uljmdltflohmd34h6hik9b.apps.googleusercontent.com",
"firecloudUrl": "https://firecloud-orchestration.dsde-dev.broadinstitute.org/",
"gwasUrl": "",
"nihUrl": "https://shibboleth.dsde-prod.broadinstitute.org/link-nih-account"
"nihUrl": "http://mock-nih.dev.test.firecloud.org/link-nih-account/index.html"
}
3 changes: 2 additions & 1 deletion src/libs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export const Config = {
authOpts: (token = Token.getToken()) => ({
headers: {
Authorization: `Bearer ${token}`,
Accept: 'application/json'
Accept: 'application/json',
'X-App-ID': 'DUOS'
}
}),
fileOpts: (token = Token.getToken()) => ({
Expand Down

0 comments on commit 3128c33

Please sign in to comment.