Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
bahua124726yI don't understand. How do you log out of the frontend, but not the backend? What is the frontend if not just a view/interface to the backend? -
ace4810016yThats the thing, I implemented everything on both ends, just didn't connect them.
Simply didn't revoke the token -
ace4810016y@AlgoRythm
Yep, though the server side kept setting the auth cookie back automatically(laravel and vuejs)
@NoToJavaScript
True and false, you have to set the access token somewhere and probably some data about user.. Clearing that effectively means logging out from FE, atleast on an interface level
Related Rants

"fullstack" doesn't mean "3 IT guys for the price of 1"
Pretty much
I just created the best bug of my career yet.
Logged out the user from frontend, but forgot to log him out of the backend.
Struggles of the modern fullstack dev I guess.
rant
wtfiswrongwithme
fe
fullstack
be
no qa