routes/auth/handlers.js: Change LinkedIn, Fenix, Google and Microsoft's authentication handlers to accept only access token as payload.
resources/auth/js: Remove function calls to exchange code for access token + Add try/catch to googleAuth() and linkedinAuth() + Some formatting/naming changes (for consistency).
Summary of changes:
routes/auth/handlers.js
: Change LinkedIn, Fenix, Google and Microsoft's authentication handlers to accept only access token as payload.resources/auth/js
: Remove function calls to exchange code for access token + Add try/catch to googleAuth() and linkedinAuth() + Some formatting/naming changes (for consistency).helpers/google.js
: Remove verifyToken() + Implement getGoogleUser() + Remove unused importshelpers/*.js
: Remove getToken() (we get access token directly from frontend now) + Remove unused imports/variables + Some formatting/naming changes