-
-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
Description
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.
- Link Generation (Implicit): Discord generates a unique, single-use token for a user.
- User Clicks Link: The user receives link on email and clicks a link like
https://discord.com/login/one-time?token=.... - 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. - Desktop Client Handling: The installed Discord client captures this deep link.
- 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".
- 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.