Skip to content

Commit

Permalink
feat: add google env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
LhonRafaat committed Oct 11, 2024
1 parent 31cfe2b commit b8d0673
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ ACCESS_SECRET=
REFRESH_SECRET=
REFRESH_TOKEN_EXPIRATION=7d
ACCESS_TOKEN_EXPIRATION=10m


# GOOGLE

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=
3 changes: 3 additions & 0 deletions src/config.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ export type EnvConfig = {
REFRESH_SECRET: string;
ACCESS_TOKEN_EXPIRATION: string;
REFRESH_TOKEN_EXPIRATION: string;
GOOGLE_CLIENT_ID: string;
GOOGLE_CLIENT_SECRET: string;
GOOGLE_CALLBACK_URL: string;
};

0 comments on commit b8d0673

Please sign in to comment.