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

Implement user login #4

Closed
DrStrangeloovee opened this issue Mar 11, 2024 · 0 comments · Fixed by #38
Closed

Implement user login #4

DrStrangeloovee opened this issue Mar 11, 2024 · 0 comments · Fixed by #38
Assignees
Labels
doing Currently WIP points: 1 Simple and straightforward task, can be done quickly

Comments

@DrStrangeloovee
Copy link
Owner

DrStrangeloovee commented Mar 11, 2024

Continuing from the design (#20) the login functionality will be implemented.

The underlying issue (#29) needs to be implemented first to utilize a uniform way of accessing the auth API which pocketbase provides.

Concrete implementation:

  1. User is able to login by providing a username/email and password
  2. User successfully authenticates and will receive a session in the form of a cookie which is passed on for the subsequent requests to the API
  3. Ensure there is an easy way to check for an authenticated user in the front end

Afterwards we should create a simple page/route which is only accessible for the authenticated user otherwise the user should be redirected to an error page or something similar.

@DrStrangeloovee DrStrangeloovee added the todo Open issue - todo label Mar 11, 2024
@DrStrangeloovee DrStrangeloovee added this to the Sprint 1 - Base milestone Mar 11, 2024
@Ramariam Ramariam added points: 2 Slightly more complex task that may require additional steps points: 1 Simple and straightforward task, can be done quickly and removed points: 2 Slightly more complex task that may require additional steps labels Mar 12, 2024
@NickMuellner NickMuellner changed the title Existing users login User login Apr 14, 2024
@DrStrangeloovee DrStrangeloovee changed the title User login Implement user login Apr 24, 2024
@DrStrangeloovee DrStrangeloovee self-assigned this Apr 24, 2024
@DrStrangeloovee DrStrangeloovee added doing Currently WIP and removed todo Open issue - todo labels Apr 29, 2024
@DrStrangeloovee DrStrangeloovee linked a pull request May 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doing Currently WIP points: 1 Simple and straightforward task, can be done quickly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants