This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

JWT v/s OAuth2  RSS feed

 
Ranch Hand
Posts: 376
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

What is the difference between JWT and OAuth2? Can we use them interchangeably? Please share some good resources to learn about both.

Regards.
 
Marshal
Posts: 62172
193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you searched for them, what did it say? What don't you understand of what you found?
 
Vaibhav Gargs
Ranch Hand
Posts: 376
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Campbell,

I understood that OAuth2 can be used to access the authentication/authorization from 3rd party apps such as google/facebook etc. So, just wondering if we can use it in our apps as well?

And, in JWT, there is a json web token which contains information about algorithm, payload and signature, so, what is included in OAuth2 token?

Thanks.
 
Master Rancher
Posts: 881
17
Firefox Browser Hibernate IntelliJ IDE Java MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Vaibhav Gargs wrote:
I understood that OAuth2 can be used to access the authentication/authorization from 3rd party apps such as google/facebook etc. So, just wondering if we can use it in our apps as well?


Yes you can. I have used it before in springBoot with springSecurityApps.
here you can find some more information on the token
 
She'll be back. I'm just gonna wait here. With this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!