Skip to content

Add user accounts and secure endpoints with JWT #23

@simonevetere

Description

@simonevetere
  • adding user accounts, a frontend to make new accounts
  • saving transcripts with userids
  • JWT to secure endpoints
    JWT token : we need to expose a login http://127.0.0.1:5000/login to which username and password will be passed (eg {"user": "simonexyz", "password": "my_password"}, all this must already be encrypted according to a predefined client / server key), if the user exists in the database, the token must be returned to the user, with which he can encrypt and send the message, a session must have a maximum duration beyond which it will expire and must be generated another token and renewed the login according to the first step, it will also be more useful to organize a gateway that all the bees will point and verify the authentication, from there it will then be sorted into the various services.
    example of autentication -> https://www.youtube.com/watch?v=LKveAwao9HA

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions