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

User management #21

Open
7 tasks
balazsdukai opened this issue Aug 20, 2022 · 0 comments
Open
7 tasks

User management #21

balazsdukai opened this issue Aug 20, 2022 · 0 comments

Comments

@balazsdukai
Copy link
Member

balazsdukai commented Aug 20, 2022

  • Decide what data we need to store for a user (first name, last name, email, date of registration, company/organization etc.). But we need to make registration as simple as possible, so probably only ask for first name, last name, email, password in the main registration form and then give options to fill out additional info.
  • Require min 12 character long random passwords
  • Implement user roles so that we have sandbox and paying users, where the sandbox users can only access the sandbox data.
  • Register new user with registration form
  • Send and handle account confirmation email to verify email address so that we can send bills
  • Delete a user
  • Generate and manage API keys for a user ? So that one user can have multiple API keys and they don't need to send their user account password in each request...Probably with os.urandom(24) as per https://realpython.com/token-based-authentication-with-flask/.

See Ch8 User Authentication (esp New User Registration, Account Confirmation) in Flask Web Development 2e

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