Skip to content

Commit 2a9db33

Browse files
authored
Merge pull request #67 from data-for-change/63-implement-use-authentication-with-google-service
63 implement use authentication with google service
2 parents b9d6431 + feaea76 commit 2a9db33

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

configs/Main/.env.Base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
VITE_API_URL=http://localhost:5000
2-
VITE_API_ANYWAY_URL=https://www.anyway.co.il
2+
VITE_API_ANYWAY_URL=https://www.anyway.co.il

src/services/AuthService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class AuthService {
2424
* GET /sd-authorize/google
2525
*/
2626
getAuthorizeUrl = (redirectUrl?: string) => {
27-
const url = new URL(`${this.apiUrl}/sd-authorize/google`);
27+
const url = new URL(`https://www.anyway.co.il/sd-authorize/google`);
2828
if (redirectUrl) {
2929
url.searchParams.append('redirect_url', redirectUrl);
3030
}

src/utils/featureFlags.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ export const FEATURE_FLAGS = {
1616
* Risk Hotspot Model feature
1717
* Disabled in production for now.
1818
*/
19-
RISK_MODEL: !isProd,
19+
RISK_MODEL: true,
2020

2121
/**
2222
* New Redirect-based Authentication flow
2323
* Disabled in production for now.
2424
*/
25-
AUTH: !isProd,
25+
AUTH: true,
2626
};
2727

2828
/**

0 commit comments

Comments
 (0)