David

10.2K posts

David banner
David

David

@d33vad

random thoughts

paradise Katılım Temmuz 2017
3.1K Takip Edilen1.2K Takipçiler
Sabitlenmiş Tweet
David
David@d33vad·
NOTHING IS REAL EVERYTHING IS PERMITTED
English
1
0
12
1.4K
David retweetledi
TRAVIS SCOTT
TRAVIS SCOTT@trvisXX·
Bro why the fuck the person always chasing somebody in the movies always catch up to the person that’s GETTING chased WTF
English
953
2.3K
42.8K
1.5M
UR3born🎴
UR3born🎴@Retireduchiha·
Think I broke Claude AI
English
1
0
0
24
David retweetledi
Sir Eazi
Sir Eazi@mreazi·
Visca Barça! Let’s GO!!!!
Sir Eazi tweet media
Español
534
3.2K
17.1K
191.4K
David retweetledi
Ferran
Ferran@ryghtan·
Remuntarem.
Indonesia
102
3.7K
19.7K
702.1K
Kagan
Kagan@KaganTech·
If you are struggling to register on Claude and receive OTP... Simply make sure you don't remove the first 0 after +234... +234080 will work. +23480 will not.
English
55
157
1.3K
105.6K
David retweetledi
Exclusive
Exclusive@dope_xclusive·
Most devs use JWTs. Few understand what’s going on. That’s why auth breaks, tokens leak, and apps get exposed. Let’s fix that. JWT means JSON Web Token. It’s a way to verify a user without storing session data on your server. Simple flow. User logs in → server verifies → server signs a token → client stores it → client sends it on every request. No database lookup for every request. Fast. A JWT has 3 parts. Header. Payload. Signature. Header tells you the algorithm used. Payload carries data like userId, role, expiry. Signature proves the token was issued by your server. Important point. The payload is not encrypted. It is encoded. Anyone can decode it. Never store passwords or sensitive data inside. Example payload: {userId: "123",role: "admin"} Now the real issues most devs face. Storing tokens wrong If you put JWT in localStorage, XSS can steal it. Safer option is httpOnly cookies. No expiry If your token doesn’t expire, it’s a security risk. Always set exp. No refresh token system Short-lived access token. Longer refresh token. When access expires, refresh generates a new one. This keeps users logged in without risk. Weak secret keys If your secret is simple, your token is easy to forge. Use strong env secrets. No validation Always verify token on protected routes. Check signature. Check expiry. Check user role. Quick Node.js example: jwt.sign({ userId }, SECRET, { expiresIn: "15m" }) jwt.verify(token, SECRET) Another key decision. JWT vs sessions. JWTStatelessBetter for APIs and scaling SessionsStored on serverEasier to revoke instantly Pick based on your system, not hype. In real apps, combine both ideas. Use JWT for access. Store refresh tokens in DB.Blacklist when needed. If you’ve ever had auth bugs, it’s usually one of these mistakes. Fix this early and your backend becomes solid. What part of JWT confuses you most. Expiry, refresh flow, or storage?
English
1
6
6
75
David retweetledi
Nigeria Stories
Nigeria Stories@NigeriaStories·
JUST IN: Presidency Push For Electric Vehicles Adoption In Nigeria 🇳🇬
Nigeria Stories tweet media
English
1.2K
267
1.8K
378.1K
David retweetledi
Kedgr
Kedgr@kedgrxyz·
Rumour has it that my UI has been updated so that now I stead of getting your GitHub repos automatically, you input the GitHub repo link and confirm you own it them you can add it to your project. Also SEO got even better, devs are shipping. kedgr.xyz
English
0
2
2
18
David retweetledi
Exclusive
Exclusive@dope_xclusive·
X Tech Community, I built kedgr.xyz and I need y'all input on this. If you have any fun saas you built let's connect. X Algorithm please be nice.
English
9
18
34
1K
David
David@d33vad·
@Mugborn5 From a 1sec clip ?😂😂💔
English
0
0
0
46
David
David@d33vad·
@Mugborn5 Yamal has played 37 Estevao has played 32 btw
English
1
0
0
54
David
David@d33vad·
@Poeticmedic1 Apple TV is not available in Nigeria Disney+ is not available in Nigeria Hulu is not available in Nigeria Yet we should not pirate Oya now 😂
English
0
0
0
68
Naz🍀🍀
Naz🍀🍀@Poeticmedic1·
@d33vad Lol. Boys were using infrared to collect holla at your boy mp3 that was downloaded on waptrick. The piracy will touch everybody
English
1
0
4
130
Naz🍀🍀
Naz🍀🍀@Poeticmedic1·
They buy Merlin CDs in New Benin market
English
1
0
21
1.1K