Ask coding questions

← Back to all posts
How to make a auth repl
ShluffyMonster (4)

^. 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

ShluffyMonster (4)

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 (32)

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

Chiroyce (4)

I made a repl that shows how you can do this, but it isn't configured to run with a back-end yet ... and also scratch doesn't have it's own API for this

QuickV (114)

Basically what @SixBeeps and @FlappyTheBat are explaining :)

FlappyTheBat (6)

@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 (5335)

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