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

security bug #5

Open
HasancanCakicioglu opened this issue Jun 28, 2024 · 0 comments
Open

security bug #5

HasancanCakicioglu opened this issue Jun 28, 2024 · 0 comments

Comments

@HasancanCakicioglu
Copy link

When logging in with Google, any user can create an account using email, password and profilePicture via postman, even if that email does not belong to him/her. There is no control mechanism. It can even reach other people's accounts by just trying random emails. Is there a way to prevent this?

For example, if I send the following request to localhost:3000/api/auth/google in this link
{
"email":"[email protected]",
}
will approve my entry even if it is not mine.
Is there a point I missed?

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

1 participant