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

Bug Report: ReCaptcha fails when trying to login using superadmin user #1468

Closed
ssarkar551 opened this issue Jan 21, 2024 · 14 comments
Closed
Assignees
Labels
bug Something isn't working no-issue-activity No issue activity

Comments

@ssarkar551
Copy link

When trying to sign in using a superadmin user, reCAPTCHA fails.

image

Steps to reproduce the behavior:

1.Select a superadmin user to login with
2. Enter username and password.
3. Click on the reCAPTCHA check box
4. Login

Expected behavior
Super admin user should be able to login as usual and view the admin dashboard.
Actual behavior
Super admin users are unable to login, unless reCAPTCHA is removed from .env file.

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359

@ssarkar551 ssarkar551 added the bug Something isn't working label Jan 21, 2024
Copy link

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@ssarkar551
Copy link
Author

This is my first issue, and I would really like to contribute more by working on this issue as well.

@noman2002
Copy link
Member

@ssarkar551 There is some issue with your installation. Have you followed the steps correctly ?

@ssarkar551
Copy link
Author

ssarkar551 commented Jan 22, 2024

@noman2002 yes I did. I also had a chat with some other people on the talawa-admin slack channel, where another user pointed out this same problem as well. Is it working fine from your side?

@noman2002
Copy link
Member

@beingnoble03 Please verify if this issue exists or not and assign if exists.

@pushkar707
Copy link

@ssarkar551 , I am also having this same issue

@varshith257
Copy link
Member

@noman2002
This issue has to be addressed. Seen a lot of new contributors facing the same issue as pointed here while setting up the talawa-admin

@varshith257
Copy link
Member

varshith257 commented Jan 27, 2024

@palisadoes Get it fix asap as even most of my friends approached me regarding this issue and most of the new contributors also pointed out the same issue on Slack while doing the setup of talawa-admin.
The same error has been reproduced in a new system while I am doing the setup of talawa-admin.

I have added the console log to check its behaviour:

console.log('reCAPTCHA verification result:', data.recaptcha);
The console resulted:

reCAPTCHA verification result: false

The possible root cause is either reading of SITE KEY from the .env file or verification code logic error

@ssarkar551
Copy link
Author

@varshith257
I have been trying to figure out the problem, the recaptchaToken that is getting passed to the verifyRecaptcha method, is coming as void. I also added console logs to verify this: recaptcha token: .
Trying to figure out the root cause of this issue.

Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Feb 17, 2024
@Cioppolo14
Copy link

@ssarkar551 Are you working on this still? If not, we will reassign tomorrow.

@ssarkar551
Copy link
Author

@Cioppolo14 hey, sorry I tried to fix this issue but couldn't do so. Please reassign

@GlenDsza
Copy link

GlenDsza commented Feb 17, 2024

@Cioppolo14 I would like to work on this issue, Please Assign Me
I have resolved the issue on my local and looking to create PR

2024-02-17.mp4

Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity No issue activity
Projects
None yet
Development

No branches or pull requests

7 participants