mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 23:57:49 +01:00
auth using google
This commit is contained in:
@@ -10,6 +10,12 @@ const production = {
|
||||
process.env.MONGODB_URI ||
|
||||
'mongodb://localhost/todolist',
|
||||
},
|
||||
googleOAuth: {
|
||||
googleEnabled: process.env.GOOGLE_ENABLED,
|
||||
googleClientId: process.env.GOOGLE_CLIENT_ID,
|
||||
googleClientSecret: process.env.GOOGLE_CLIENT_SECRET,
|
||||
googleCallback: `${process.env.HOST}/api/users/login/google/callback`,
|
||||
},
|
||||
secret: process.env.SECRET,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user