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

Users should be able to sign in before access the chat #18

Open
marsbergen opened this issue Jul 24, 2024 · 0 comments
Open

Users should be able to sign in before access the chat #18

marsbergen opened this issue Jul 24, 2024 · 0 comments
Labels
design needed We need designs before this can be developed enhancement New feature or request

Comments

@marsbergen
Copy link
Contributor

Context

With the introduction of #17 all endpoints are protected now and data can't be fetched without a valid JWT.
Therefor we need to introduce a sign in screen which allows users to sign in with a preregistered username and password.

Functional Requirements

  • When accessing the client, when the user has not signed in before show a sign in screen which asks for a username and password.
  • The password input should be obfuscated
  • None of the existing routes of the client should be accessible unless the user is signed in
  • When you refresh the page in the browser, the user should stay signed in until logged out or until 24 hours since last authorised use of the client.

Technical Requirements

  • The stored JWT should be stored in either a secure cookie, local storage or session storage and not accessible by other domains
@marsbergen marsbergen added enhancement New feature or request design needed We need designs before this can be developed labels Jul 24, 2024
@infowijs infowijs locked and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
design needed We need designs before this can be developed enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant