Skip to content

[Placeholder] Implement "magic" login code #661

@dontic

Description

@dontic

Earlier this year allauth released a code-based login method.

  1. User requests login by inputting their email address
  2. Frontend sends request to dj-rest-auth's endpoint /login/code/
  3. A session gets generated (similar to the email verification flow)
  4. User receives an email with a random 6 character code (as per allauth)
  5. User inputs that code in the frontend.
  6. Frontend sends request to dj-rest-auth's endpoint /login/code/confirm/
  7. Backend logs the user in (or not)

This issue is a placeholder to keep track of the progress and discussion

Planning to create a pull request for this as soon as I can.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions