-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updated authentication configuration for hca-dcp managed access (…
- Loading branch information
Fran McDade
authored and
Fran McDade
committed
Dec 11, 2023
1 parent
45f22bd
commit 3ae4328
Showing
5 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
explorer/site-config/hca-dcp/cc-ma-dev/authentication/authentication.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
explorer/site-config/hca-dcp/ma-prod/authentication/authentication.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { AuthenticationConfig } from "../../../../../../data-explorer/packages/data-explorer-ui/src/config/entities"; | ||
import * as MDX from "../../../../app/components/common/MDXContent/hca-dcp"; | ||
|
||
// TODO(cc) update authentication config. | ||
|
||
export const authenticationConfig: AuthenticationConfig = { | ||
googleGISAuthConfig: { | ||
clientId: | ||
"561542988117-9e04fhfrc9su130eb2ggea7bdppolkjq.apps.googleusercontent.com", // TODO(cc) update clientId. | ||
googleProfileEndpoint: "https://www.googleapis.com/oauth2/v3/userinfo", | ||
scope: | ||
"https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile openid", | ||
}, | ||
termsOfService: MDX.RenderComponent({ Component: MDX.LoginTermsOfService }), | ||
terraAuthConfig: { | ||
termsOfServiceEndpoint: | ||
"https://sam.dsde-dev.broadinstitute.org/register/user/v2/self/termsOfServiceDetails", | ||
terraProfileEndpoint: | ||
"https://sam.dsde-dev.broadinstitute.org/register/user/v1", | ||
}, | ||
text: MDX.RenderComponent({ Component: MDX.LoginText }), | ||
title: "Sign in to your account", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters