feat(auth): implement mobile Google authentication using Passport strategy

- Added a new Passport strategy for mobile Google authentication.
- Introduced `googleMobileAuthPassport` method in `AuthController` to handle authentication flow.
- Updated routes to utilize the new Passport strategy for mobile sign-in.
- Added `passport-custom` dependency for custom authentication strategy.
- Updated `package.json` and `package-lock.json` to reflect new dependencies and version requirements.
This commit is contained in:
Chamika J
2025-08-05 17:12:29 +05:30
parent 84f96b7db2
commit 7bb020d448
6 changed files with 189 additions and 441 deletions

View File

@@ -80,6 +80,7 @@
"morgan": "^1.10.0",
"nanoid": "^3.3.6",
"passport": "^0.7.0",
"passport-custom": "^1.1.1",
"passport-google-oauth2": "^0.2.0",
"passport-google-oauth20": "^2.0.0",
"passport-local": "^1.0.0",