FateAssassin
FateAssassin3mo ago

✅ – fateassassin – 09-23 Aug 31

Hey, I need some help with Cookies and User auth. So what I have is a HTTP-Only cookie, which includes a token for user validation on the backend. Now if that cookie doesnt exists anymore, because the user has, for example, logged out, I want to refrain from making an API call to check for the token, to minimize API-calls. Is that possible, as i cant check if the token exists on the frontend? If yes, what would be the approach?
Solution:
Message Not Public
Sign In & Join Server To View
Jump to solution
3 Replies
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
FateAssassin
FateAssassinOP3mo ago
okay then, I appreciate your answer. thanks!
reactibot
reactibot3mo ago
This question has an answer! Thank you for helping 😄 If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1279370891184181268