Ask coding questions

← Back to all posts
How do you make a repl auth?
h
JWZ6

I’v seen a repl auth in many repls so I want to know how to create one. Also, how do you detect the value of it thx

Answered by OldWizard209 [earned 5 cycles]
View Answer
Voters
JWZ6
Comments
hotnewtop
OldWizard209

You can create a repl auth using HTML, with this simple script:

You will see a "Login with replit" button and clicking on it will take you to the auth page.

For more info, check out the docs

You can detect the value using DOM and JS. or once again, check the docs, it is written in there.

JWZ6
OldWizard209

np @JWZ6

JWZ6
ch1ck3n
JWZ6

If only I could mark this answer correct too... @ch1ck3n