Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"check-system-status:anvil-cmg": "esrun e2e/anvil/anvil-check-system-status.ts"
},
"dependencies": {
"@databiosphere/findable-ui": "^51.1.0",
"@databiosphere/findable-ui": "^52.1.0",
"@emotion/react": "^11",
"@emotion/styled": "^11",
"@mdx-js/loader": "^3",
Expand Down
6 changes: 5 additions & 1 deletion site-config/anvil-cmg/cc-dev/authentication/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { OAuthProvider } from "@databiosphere/findable-ui/lib/config/entities";
import {
OAUTH_FLOW,
OAuthProvider,
} from "@databiosphere/findable-ui/lib/config/entities";
import { GOOGLE_SIGN_IN_PROVIDER } from "@databiosphere/findable-ui/lib/google/config";
import { GoogleProfile } from "@databiosphere/findable-ui/lib/google/types";

Expand All @@ -11,4 +14,5 @@ export const GOOGLE_PROVIDER: OAuthProvider<GoogleProfile> = {
...GOOGLE_SIGN_IN_PROVIDER,
...OAUTH_GOOGLE_SIGN_IN,
clientId: CLIENT_ID,
flow: OAUTH_FLOW.IMPLICIT,
Comment thread
frano-m marked this conversation as resolved.
};
9 changes: 7 additions & 2 deletions site-config/anvil-cmg/dev/authentication/constants.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
import { OAuthProvider } from "@databiosphere/findable-ui/lib/config/entities";
import {
OAUTH_FLOW,
OAuthProvider,
} from "@databiosphere/findable-ui/lib/config/entities";
import { GOOGLE_SIGN_IN_PROVIDER } from "@databiosphere/findable-ui/lib/google/config";
import { GoogleProfile } from "@databiosphere/findable-ui/lib/google/types";

import { OAUTH_GOOGLE_SIGN_IN } from "../../../common/authentication";

const CLIENT_ID =
"561542988117-9e04fhfrc9su130eb2ggea7bdppolkjq.apps.googleusercontent.com";
"561542988117-3cv4g8ii9enl2000ra6m02r3ne7bgnth.apps.googleusercontent.com";

export const GOOGLE_PROVIDER: OAuthProvider<GoogleProfile> = {
...GOOGLE_SIGN_IN_PROVIDER,
...OAUTH_GOOGLE_SIGN_IN,
authorize: "https://service.anvil.gi.ucsc.edu/user/authorize",
Comment thread
frano-m marked this conversation as resolved.
clientId: CLIENT_ID,
Comment thread
frano-m marked this conversation as resolved.
flow: OAUTH_FLOW.AUTHORIZATION_CODE,
Comment thread
frano-m marked this conversation as resolved.
};

export const TERRA_SERVICE = {
Expand Down
6 changes: 5 additions & 1 deletion site-config/anvil-cmg/prod/authentication/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { OAuthProvider } from "@databiosphere/findable-ui/lib/config/entities";
import {
OAUTH_FLOW,
OAuthProvider,
} from "@databiosphere/findable-ui/lib/config/entities";
import { GOOGLE_SIGN_IN_PROVIDER } from "@databiosphere/findable-ui/lib/google/config";
import { GoogleProfile } from "@databiosphere/findable-ui/lib/google/types";

Expand All @@ -11,6 +14,7 @@ export const GOOGLE_PROVIDER: OAuthProvider<GoogleProfile> = {
...GOOGLE_SIGN_IN_PROVIDER,
...OAUTH_GOOGLE_SIGN_IN,
clientId: CLIENT_ID,
flow: OAUTH_FLOW.IMPLICIT,
};

export const TERRA_SERVICE = {
Expand Down
6 changes: 5 additions & 1 deletion site-config/anvil-cmg/tempdev/authentication/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { OAuthProvider } from "@databiosphere/findable-ui/lib/config/entities";
import {
OAUTH_FLOW,
OAuthProvider,
} from "@databiosphere/findable-ui/lib/config/entities";
import { GOOGLE_SIGN_IN_PROVIDER } from "@databiosphere/findable-ui/lib/google/config";
import { GoogleProfile } from "@databiosphere/findable-ui/lib/google/types";

Expand All @@ -11,6 +14,7 @@ export const GOOGLE_PROVIDER: OAuthProvider<GoogleProfile> = {
...GOOGLE_SIGN_IN_PROVIDER,
...OAUTH_GOOGLE_SIGN_IN,
clientId: CLIENT_ID,
flow: OAUTH_FLOW.IMPLICIT,
};

export const TERRA_SERVICE = {
Expand Down
6 changes: 5 additions & 1 deletion site-config/hca-dcp/cc-ma-dev/authentication/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { OAuthProvider } from "@databiosphere/findable-ui/lib/config/entities";
import {
OAUTH_FLOW,
OAuthProvider,
} from "@databiosphere/findable-ui/lib/config/entities";
import { GOOGLE_SIGN_IN_PROVIDER } from "@databiosphere/findable-ui/lib/google/config";
import { GoogleProfile } from "@databiosphere/findable-ui/lib/google/types";

Expand All @@ -11,6 +14,7 @@ export const GOOGLE_PROVIDER: OAuthProvider<GoogleProfile> = {
...GOOGLE_SIGN_IN_PROVIDER,
...OAUTH_GOOGLE_SIGN_IN,
clientId: CLIENT_ID,
flow: OAUTH_FLOW.IMPLICIT,
};

export const TERRA_SERVICE = {
Expand Down
6 changes: 5 additions & 1 deletion site-config/hca-dcp/ma-prod/authentication/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { OAuthProvider } from "@databiosphere/findable-ui/lib/config/entities";
import {
OAUTH_FLOW,
OAuthProvider,
} from "@databiosphere/findable-ui/lib/config/entities";
import { GOOGLE_SIGN_IN_PROVIDER } from "@databiosphere/findable-ui/lib/google/config";
import { GoogleProfile } from "@databiosphere/findable-ui/lib/google/types";

Expand All @@ -11,6 +14,7 @@ export const GOOGLE_PROVIDER: OAuthProvider<GoogleProfile> = {
...GOOGLE_SIGN_IN_PROVIDER,
...OAUTH_GOOGLE_SIGN_IN,
clientId: CLIENT_ID,
flow: OAUTH_FLOW.IMPLICIT,
};

export const TERRA_SERVICE = {
Expand Down
Loading