Skip to content

Authentication system #339

Open
Open

Description

@magicr146-lab

Currently, the express-locallibrary application has no user authentication or session management. This means:

  • Anyone can view the library catalog (intended), but anyone can also create, modify, or delete books, and book instances without identification (unintended).
  • Users cannot sign up or sign in; there is no concept of a "current user" in the application.

Activity

  1. added
    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.
    on Nov 20, 2025
  2. removed
    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.
    on Nov 20, 2025
  3. hamishwillee commented on Nov 20, 2025

    @hamishwillee
    Collaborator

    Correct. This would be a nice enhancement. We would accept a PR that added such a system here AND documented it in MDN.

    The model to follow would be like the Django tutorial - https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Server-side/Django/Sessions and https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Server-side/Django/Authentication

    The libraries used for this would need to be popular and well maintained.

    The effort is significant, so it won't happen without volunteer work.

  4. added
    help wantedIf you know something about this topic, we would love your help!
    on Jan 16, 2026
  5. nejidevelops commented on Oct 28, 2026

    @nejidevelops

    Can I work on this issue? @mdn/community

  6. hamishwillee commented on Oct 29, 2026

    @hamishwillee
    Collaborator

    @nejidevelops Of course. BUT there is an unreviewed update to the docs:

    So your proposal should build on those.
    The way assignment works is that you start work and submit a PR that cross links to the associated issue. The presence of the cross link is what tells users that someone is working on the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIf you know something about this topic, we would love your help!

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions