Skip to content

One-Time Login #1370

@Puyodead1

Description

@Puyodead1

From "Wumpus Central"

One-Time Login

Discord works on a new login method that allows you to access one-time login url with token on email.

  1. Link Generation (Implicit): Discord generates a unique, single-use token for a user.
  2. User Clicks Link: The user receives link on email and clicks a link like https://discord.com/login/one-time?token=....
  3. Browser Landing Page: This opens a new web page in the browser. This page's primary goal is not to handle the login itself but to redirect the user to their desktop application using a deep link (discord://login/one-time?token=...). It displays messages like "Trying to open Discord..." to the user.
  4. Desktop Client Handling: The installed Discord client captures this deep link.
  5. Login Modal: The client opens a modal window that processes the token. The modal displays the status of the login attempt:
    • Loading: "Logging you in..."
    • Success: "Login Successful! Welcome back! Taking you to Discord..."
    • Error: "Login Failed." with options to "Try Again" or "Cancel".
  6. Authentication: If the token is valid, the client authenticates the user's session and redirects them to the main app interface (/channels/@me).

I am making this issue to track this feature, while we wait to see what Discord does with it and for it to be more complete before implementing in Spacebar.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions