Summary of login flow. #3
Copy link
Copy link
Closed
Labels
Exempt From InactivityThis will not enforce inactivity rules on this issueThis will not enforce inactivity rules on this issueHigh PriorityThis requires immediate attentionThis requires immediate attention
Milestone
Description
So I just wanted to summarize the login flow to make it easier for development.
- A user is redirected to the login website https://scratch-id.onrender.com/?app_id=123456789&type=external
- The user is asked to continue with an existing account, or add a new one
- They click "Authorize" which then redirects to the app's callback URL.
So my idea is in order to use ScratchID, website owners must sign up, then create an application, with a callback URL and name.
Metadata
Metadata
Labels
Exempt From InactivityThis will not enforce inactivity rules on this issueThis will not enforce inactivity rules on this issueHigh PriorityThis requires immediate attentionThis requires immediate attention
Activity
snoopythe3-from-scratch commentedon May 18, 2025
I've made a mock up of this:
localpigeons commentedon May 18, 2025
Sorry I forgot to mention. I made this earlier
kRxZykRxZy commentedon May 19, 2025
This is a much easier system and better, you don't have to accept this:
The user is taken to the login page, they login with comments, cloud etc and then a
POSTrequest is sent to the server, the server will store the username, redirect location and more. After user is logged in they will be redirected to their previous site (a url param) with the id of the server response in a param, the site (not the login site, the one before it) will fetch the json from auth-api.beamws.com/oauth/verification/:idask chatgpt to summarise this
localpigeons commentedon May 19, 2025
yeah that’s a good idea
kRxZykRxZy commentedon May 19, 2025
With the /verification/:id it will return the username and redirect location and some other stuff
kRxZykRxZy commentedon May 19, 2025
I have a rough start, may you host it with build command npm install and start command npm start
Fluffy728 commentedon May 24, 2025
@kRxZykRxZy @polylogue2 @snoopythe3-from-scratch, I made one of the UI mockups, do you like it?
Also can you please assign me to the issue?
Fluffy728 commentedon May 24, 2025
Also this is what it could look like with Scratch Accounts already added
snoopythe3-from-scratch commentedon May 24, 2025
Fluffy728 commentedon May 24, 2025
github-actions commentedon Jun 15, 2025
Warning: Issues are closed when they are inactive for at least 14 days, and this issue is one of them.
snoopythe3-from-scratch commentedon Jun 15, 2025
Not any more