Ask coding questions

← Back to all posts
How to make a scratch.mit.edu auth repl
ShluffyMonster

^. this ties in with a project I am working on, to allow you to sign in using your scratch account, for a more personalized experience

Voters
FlappyTheBat
ShluffyMonster
Comments
hotnewtop
ShluffyMonster

okay, how would I pull from the api. people can set a cloud variable and can use that to verify they are who they say

JakeHu2020

You can just scrape data from scratch.mit.edu, and check if some specific part of the page has their username in it

Chiroyce

I made a repl that shows how you can do this, but it isn't configured to run with a back-end yet ...https://replit.com/@Chiroyce/User-Authentication-Scratch-30 and also scratch doesn't have it's own API for this

QuickV

Basically what @SixBeeps and @FlappyTheBat are explaining :)

FlappyTheBat

@SixBeeps is correct, this would be impossible to do. Instead of using a Scratch account, try using another account like a Google account, Microsoft account, etc, or create your own authentication system (although this is more advanced).

SixBeeps

Scratch does not appear to have an authentication API, so that's more than likely not possible.