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

A user can login #2

Open
4 tasks
MackHalliday opened this issue Jan 24, 2024 · 0 comments
Open
4 tasks

A user can login #2

MackHalliday opened this issue Jan 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MackHalliday
Copy link
Owner

Story

As a user, I can log in to the application.
I am redirected to my home page which is only accessible to me.

Technical Implementation

  • Use Django Rest Framework token and endpoint
  • Save token in user's cache
  • Redirect to home page

Testing

  • Frontend user can login and redirect to home page
  • Frontend user cannot access home page without token
  • Backend can returns token
  • Backend does not allow access to home page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In progress
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant