Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google authentication #84

Merged
merged 1 commit into from
May 20, 2024
Merged

Conversation

GSinseswa721
Copy link
Contributor

What does this PR do?

This PR is all about Google OAuth authentication for user sign in.

It configures Passport.js to utilize the Google OAuth strategy, allowing users to log in using their Google accounts.

Description of Task to be completed

Configuring Passport.js with Google OAuth strategy.
Implement routes for Google sign-in and callback handling.
Authenticate users using Google profile information.

How should this be manually tested?

npm run dev

@coveralls
Copy link

coveralls commented May 16, 2024

Pull Request Test Coverage Report for Build 9156518173

Details

  • 38 of 77 (49.35%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-3.1%) to 78.675%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/routes/UserRoutes.ts 8 15 53.33%
src/utils/auth.ts 9 41 21.95%
Totals Coverage Status
Change from base Build 9126248158: -3.1%
Covered Lines: 1005
Relevant Lines: 1188

💛 - Coveralls

@GSinseswa721 GSinseswa721 force-pushed the feature-google-authentication branch from 2cc6e76 to 5df9b11 Compare May 16, 2024 19:50
@faid-terence
Copy link
Collaborator

@GSinseswa721 resolve the conflict and tests are decreasing !

@GSinseswa721 GSinseswa721 force-pushed the feature-google-authentication branch from 5df9b11 to ccad3a9 Compare May 16, 2024 20:38
@elijahladdie elijahladdie force-pushed the feature-google-authentication branch 2 times, most recently from 716bbf8 to 59987b4 Compare May 17, 2024 12:26
@GSinseswa721 GSinseswa721 force-pushed the feature-google-authentication branch 2 times, most recently from 9bd8d75 to 6c7bf4f Compare May 17, 2024 20:41
@GSinseswa721 GSinseswa721 added the Ready for reviews Pull request is ready for review label May 18, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GSinseswa721 remove the console.log(".................")

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GSinseswa721 Remove as any on middlewares , using any we're not utilising power of typescript.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GSinseswa721
Remove as any on middlewares !

@GSinseswa721 GSinseswa721 force-pushed the feature-google-authentication branch from 6c7bf4f to 6aa2cd7 Compare May 20, 2024 08:31
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GSinseswa721 remove unnecessary commented codes.

@GSinseswa721 GSinseswa721 force-pushed the feature-google-authentication branch from 6aa2cd7 to c833a1f Compare May 20, 2024 09:23
@faid-terence faid-terence added the Highest priority Has more priority label May 20, 2024
@faid-terence faid-terence self-requested a review May 20, 2024 10:44
Copy link
Collaborator

@faid-terence faid-terence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice Work @GSinseswa721 !

@faid-terence faid-terence merged commit 3a38224 into develop May 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Highest priority Has more priority Ready for reviews Pull request is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants