Skip to content

Conversation

@chatterjeedeep08
Copy link

Description

Frontend setup for OAuth implementation

Related Issue

feat: Add OAuth for Google and GitHub (Manual implementation)
#10

Motivation and Context

Change for mentioned feature

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (improvement to an existing feature)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Test (adds or updates tests only)
  • Documentation (non-code change)

How Has This Been Tested?

N/A, cosmetic changes only

Screenshots (if applicable):

N/A

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@netlify
Copy link

netlify bot commented Oct 12, 2025

Deploy Preview for paisable ready!

Name Link
🔨 Latest commit aeec8c6
🔍 Latest deploy log https://app.netlify.com/projects/paisable/deploys/68eb920130eb80000861cecb
😎 Deploy Preview https://deploy-preview-127--paisable.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 95
Accessibility: 100
Best Practices: 100
SEO: 91
PWA: 80
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatterjeedeep08
Copy link
Author

@archa8 please review

@archa8 archa8 linked an issue Oct 16, 2025 that may be closed by this pull request
Copy link
Member

@archa8 archa8 left a comment

Choose a reason for hiding this comment

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

Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.
useAuth useAuth.js:11 onClick RegisterPage.jsx:102

I am getting this error in console, because you are calling your useAuth hook inside an onClick event handler. Kindly correct this and also, add the OAuth feature on the Sign In page too.

Copy link
Member

@archa8 archa8 left a comment

Choose a reason for hiding this comment

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

Kindly make the changes as requested @chatterjeedeep08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add OAuth for Google and GitHub (Manual implementation)

2 participants