Ask coding questions

← Back to all posts
Deleting REPL_AUTH Cookie
JosephHeinz

I am trying to make a logout button for one of my projects, but I have been unable to successfully delete the REPL_AUTH cookie that is set once you login. Could someone please help? This is using the basic signup/login with replit repl.

Voters
JosephHeinz
Comments
hotnewtop
VulcanWM

Once you login with replit in a website, there is no way you can log out

JosephHeinz

@VulcanWM you can delete cookies, but I want to know how to delete the cookie in JS

VulcanWM

I don’t know about that sorry @JosephHeinz