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

token verification function with google Authenticated users #9

Open
meyoh-23 opened this issue Mar 10, 2024 · 2 comments
Open

token verification function with google Authenticated users #9

meyoh-23 opened this issue Mar 10, 2024 · 2 comments

Comments

@meyoh-23
Copy link

It seems like accessing token for users verified via google auth is not working, The req.params.userId and the req.user.Id are never matching, and is always throwing the error message and status code passed to the errorHandler function

@Piyushdigraskar
Copy link

i think you should use console logs to check everytime you uses userId both in frontend and backend then check which where it is not matching i think that will solve it

@Rakesh-99
Copy link

Rakesh-99 commented Oct 5, 2024

It seems like accessing token for users verified via google auth is not working, The req.params.userId and the req.user.Id are never matching, and is always throwing the error message and status code passed to the errorHandler function

If you are facing issue in production , I think you can check if the domain is authorized in firebase authentication or not.

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

No branches or pull requests

3 participants