Skip to content

Commit

Permalink
🔒 Google Auth Added: Seamless sign-in with Google
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakgohil9 committed May 31, 2024
1 parent 2daa696 commit b90e851
Show file tree
Hide file tree
Showing 9 changed files with 302 additions and 31 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ JWT_REFRESH_EXPIRES_IN = <your_refresh_expires_in>

# CORS
CORS_ORIGIN = <your_cors_origin>

# Google
GOOGLE_CLIENT_ID=<your_google_client_id>
GOOGLE_CLIENT_SECRET=<your_google_client_secret>
GOOGLE_REDIRECT_URI=<your_google_redirect_uri> # url path : /auth/google/callback
216 changes: 195 additions & 21 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blazex",
"version": "1.0.5",
"version": "1.0.6",
"description": "Ignite your projects with lightning speed! Say goodbye to setup headaches and hello to rapid development.",
"main": "app.ts",
"bin": {
Expand All @@ -27,6 +27,7 @@
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-mongo-sanitize": "^2.2.0",
"google-auth-library": "^9.10.0",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.4.0",
Expand Down
Loading

0 comments on commit b90e851

Please sign in to comment.