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

New Lesson: Sessions #28847

Open
2 tasks
MaoShizhong opened this issue Sep 23, 2024 · 1 comment · May be fixed by #29082
Open
2 tasks

New Lesson: Sessions #28847

MaoShizhong opened this issue Sep 23, 2024 · 1 comment · May be fixed by #29082
Assignees
Labels
Project Node Revamp Issues/PRs related to the Node Revamp project Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues

Comments

@MaoShizhong
Copy link
Contributor

MaoShizhong commented Sep 23, 2024

Lesson: Sessions

Lesson overview

Lesson about sessions and implementing session-based auth.

Lesson outline

The following items define the scope of the lesson. The lesson outline is flexible; you can improve, expand, and omit items whilst writing lesson content (make sure the pull request description mentions that).

  • High level overview of sessions and session-based auth.
  • Touch on the use of cookies in session-based auth but don't dive into details (separate lesson).
  • Give simple example of manual implementation of session-based auth in a same-site context using express-session.
    • Also demonstrate using a DB session store e.g. (pg-connect-simple) for persistence.
  • High level overview of password storage security and password hashing with argon2id.

Acceptance criteria

If the requirements here are not met, the work effort is not complete.

  • Lesson conforms to the outline above (unless outline has been modified).
  • Lesson follows our Layout Style Guide.

Additional information

Get the lesson template

Download the lesson template using the following command (replace lesson_name with the actual lesson name):

curl -o <lesson_name>.md https://raw.githubusercontent.com/TheOdinProject/curriculum/main/templates/lesson-template.md 
@MaoShizhong MaoShizhong changed the title New Lessons: Sessions New Lessons: Session-based auth && Cookies Sep 23, 2024
@MaoShizhong MaoShizhong changed the title New Lessons: Session-based auth && Cookies New Lessons: Sessions Sep 23, 2024
@MaoShizhong MaoShizhong changed the title New Lessons: Sessions New Lesson: Sessions Sep 23, 2024
@MaoShizhong MaoShizhong self-assigned this Sep 23, 2024
@MaoShizhong MaoShizhong transferred this issue from TheOdinProject/top-meta Sep 23, 2024
@MaoShizhong MaoShizhong added the Project Node Revamp Issues/PRs related to the Node Revamp project label Sep 23, 2024
Copy link

This issue is stale because it has had no activity for the last 30 days.

@github-actions github-actions bot added the Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues label Oct 24, 2024
@MaoShizhong MaoShizhong linked a pull request Nov 13, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project Node Revamp Issues/PRs related to the Node Revamp project Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant