@tiffintech: What is the difference between OAuth and JWT? OAuth and JWT are both used in authentication processes, but they serve different purposes. OAuth is an authorization framework that allows third-party applications to access user resources without sharing credentials, often used when one service needs to access data from another on behalf of a user. JWT, or JSON Web Token, is like a secure digital ID card for computers. It's a compact way to securely transmit information about a user between parties as a JSON object. When you log in, instead of checking your credentials every time, the server gives you a JWT containing information about your identity and permissions. This token has three parts: a header, a payload with claims about you, and a signature to ensure it hasn't been tampered with. You send this token with each request, allowing the server to quickly verify who you are without constant database lookups. In a real-world scenario, a photo printing service might use OAuth to access a user's Google Photos for printing, while using JWT to manage the user's session within its own application. The choice between them depends on the specific authentication and authorization needs of the application. #Tech #technology #developer #stem #education

Tiff in Tech
Tiff in Tech
Open In TikTok:
Region: CA
Tuesday 06 August 2024 22:59:10 GMT
78927
3762
78
86

Music

Download

Comments

crookedgeek69
Chris :
I always tell my guys to skip OAuth and store the username and password instead 💪💪
2024-08-08 17:47:59
0
bigredcandle
Bigredcandle :
Sorry but that explanation is confusing. JWT is to verify who you are, OAuth is to delegate authorization. Both can be used together
2024-08-08 16:00:56
72
menomi0
menomi7317 :
jwt auth is really not for authentication between client to backend its more usefull for backend to backend, and just use session auth for clien to be
2024-08-30 04:38:01
0
dj.kad
Dj Kad 🇮🇹 :
i'm curious about the way people manage the jwt on backend regarding authorization in a typical API. Do you trust in user ID retrieved by the jwt token payload?
2024-08-13 13:18:46
0
davidkhudaverdyan
David Khudaverdyan :
I didn’t understand the explanation
2024-08-07 21:52:09
40
bobbadung
bobnapibadung :
can we extract the jwt token and move it to another computer?
2024-08-08 11:51:33
4
solo.game.develop
Solo Game Developer :
Didn’t get it… it’s just a hash about your auth to website? Sorry last 5 years I work as backend dev 😭
2024-08-07 13:39:33
0
vmospro547
vmospro547 :
does anyone know what's rotating token means?
2024-08-07 07:34:48
0
lbfwbs
Haile :
your so cute 😍 I like you and your content very much!
2024-08-07 15:43:49
0
victorosenp
victorosenp :
Oauth is authenticating a user like logins on the other hand the JWT is for API communication, when you consume the API from an endpoint- the so called bearer token
2024-08-10 17:14:29
4
_tosho_
Omotosho 💥 :
Good explanation 👏👏👏
2024-08-08 12:45:56
0
satbehindjacklakers
Gene Chuang :
Great explanation, but JWT is pronounced ‘jot’ as per its creator.
2024-08-07 08:44:04
2
worzeel
Antonio Broughton :
I've always used JWT as a bearer token for OAuth myself 🤔
2024-08-07 06:14:55
18
cptdonno
CptDonno :
wow, so pretty and super smart, the whole package. thanks for making developing a happy place🥰
2024-08-07 06:59:52
0
its_comoo1
Nii T3t3 :
jwt is like the band that is put on your wrist when you enter a party so you can enter again without paying incase you go out of that party to do something
2024-08-24 22:00:48
0
user434800169760
user434800169760 :
OAuth is not authentication, OAuth is a specification for authorization
2024-08-11 21:53:16
0
michael27741
michael27741 :
which monitor are these?
2024-08-07 10:55:31
0
tdimitrif
T :
What desk is that???
2024-08-08 04:34:43
0
unknown4041287
unkown404 :
JWT is more like your passport(data representation), On the other hand, oauth is more like the process on how you verify that passport.
2024-08-08 04:01:45
4
ibrofit
ibrahim :
So signing in is what prompts the JWT token? I'm a beginner so I'm just trying to learn
2024-08-10 00:38:29
0
mr.zeusie
Mr.Zeusie :
then comes OIDC
2024-08-08 08:57:47
0
mnorhamizan
mizan :
WHAT MONITOR STAND IS THAT????
2024-08-22 11:43:43
0
dj.kad
Dj Kad 🇮🇹 :
authorization Vs authentication
2024-08-12 22:43:08
2
nix.bell
Bells :
I literally got this the day after struggling with JWT and OAUTH the last 4 work days 😭. Too bad I finished the project already
2024-08-08 19:16:01
0
To see more videos from user @tiffintech, please go to the Tikwm homepage.

Other Videos


About