Skip to content

New Lesson: Authentication Libraries #30757

@mao-sz

Description

@mao-sz

Lesson: Authentication Libraries

This is for assignment to a member of the Node revamp team.

Lesson overview

Lesson about Authentication libraries.

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).

  • Explain purpose of authentication libraries. Account for:
    • Problems that can arise from rolling your own auth from scratch (the Rails "Sessions, Cookies and Authentication" lesson can be a helpful reference)
    • Benefits to a unified system when implementing multiple auth providers (e.g. username/password login + github login + google login + etc.)
  • Introduce examples of authentication libraries, such as (but not necessarily exclusively) PassportJS, better-auth etc.

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 

Metadata

Metadata

Assignees

Labels

Project Node RevampIssues/PRs related to the Node Revamp projectStatus: StaleThis issue/PR has been inactive for over 30 days and will be closed if inactivity continues

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions