Skip to content

Commit 4be2068

Browse files
committed
Make updates to README.md
1 parent 3585989 commit 4be2068

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@
7676
- Populate the .env file with the newly created code below:
7777

7878
```bash
79-
CLIENT_ID = [client id]
80-
CLIENT_SECRET = [client secret]
81-
GOOGLE_AUTH_CALLBACK = 'http://localhost:3000/api/oauth/google'
79+
GOOGLE_AUTH_CALLBACK = ''
8280
DATABASE_URL = [mysql url for storing user data]
83-
SERVER_ENDPOINT = 'http://localhost:3000'
81+
DEV_SERVER_ENDPOINT = 'http://localhost:3000'
82+
DEV_CLIENT_ENDPOINT = 'http://localhost:8080'
83+
GOOGLE_AUTH_CALLBACK = 'http://localhost:3000/api/oauth/google'
8484
GOOGLE_AUTH_CLIENT_ID = [google auth client id]
8585
GOOGLE_AUTH_CLIENT_SECRET = [google auth client secret]
8686
REDIS_URL = [redis url]

src/utils/getGoogleUrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const getGoogleAuthUrl = () => {
33

44
const options = {
55
redirect_uri: 'http://localhost:3000/api/oauth/google',
6-
client_id: '971147535395-bd0vjrequipsrg5c74htoafjbmubgn3m.apps.googleusercontent.com',
6+
client_id: process.env.GOOGLE_AUTH_CLIENT_ID as string,
77
access_type: 'offline',
88
response_type: 'code',
99
prompt: 'consent',

0 commit comments

Comments
 (0)