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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: organization name is not validated & resulted in account being blocked #7435

Open
2 tasks done
naveennamani opened this issue Jan 3, 2024 · 2 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services.

Comments

@naveennamani
Copy link

馃憻 Reproduction steps

I used signup with GitHub and in the onboarding page it asked me to enter organization name and plan selection. I selected free plan and submitted without entering any organization name. After my account is created whenever I try to access the organization page it shows internal server error. I thought the issue is with empty organization name and there was no way to rename it as I'm unable to access any related info and all I get is error page. So I deleted my account, and when I try to signup again using same GitHub account it returns to the login page and nothing shows. After a bit I realised there was an error message in the redirected URL and the following is the redirected URL with error message in it

https://cloud.appwrite.io/login?error=%7B%22message%22%3A%22The+current+user+has+been+blocked.+You+can+unblock+the+user+by+making+a+request+to+the+User+API%27s+%5C%22Update+User+Status%5C%22+endpoint+or+in+the+Appwrite+Console%27s+Auth+section.%22%2C%22type%22%3A%22user_blocked%22%2C%22code%22%3A401%7D&

This error message clearly says my account is blocked. How can I unblock my account, my GitHub user name is @naveennamani

This issue happened on the hosted appwrite and I'm not in a way to test it locally.

馃憤 Expected behavior

Validate the organization name and should throw error if it's empty

馃憥 Actual Behavior

Failed to validate organization name and lead to errors

馃幉 Appwrite version

Appwrite Cloud

馃捇 Operating system

Linux

馃П Your Environment

No response

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@naveennamani naveennamani added the bug Something isn't working label Jan 3, 2024
@sourabpramanik
Copy link

sourabpramanik commented Jan 4, 2024

@naveennamani are you sure that is the case? Because when I tried to reproduce this issue without providing any organization name then a default name Personal Projects is set for that organization.

inspect

But I do agree there should be an input validation on the organization name input where it cannot be blank.

Now for the account block issue I think any one from the team can help you better.

I hope I got your issue correctly

@stnguyen90 stnguyen90 transferred this issue from appwrite/console Jan 11, 2024
@stnguyen90 stnguyen90 added the product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. label Jan 11, 2024
@stnguyen90 stnguyen90 self-assigned this Jan 11, 2024
@stnguyen90
Copy link
Contributor

@naveennamani, thanks for creating this issue! 馃檹馃徏 You'll have to wait until your account is deleted. For now, you can try to create a new account with a different email and password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services.
Projects
None yet
Development

No branches or pull requests

3 participants