Тёмный

Oauth2 JWT Interview Questions and Answers | Grant types, Scope, Access Token, Claims | Code Decode 

Code Decode
Подписаться 127 тыс.
Просмотров 61 тыс.
50% 1

In this video of code decode we have explained oauth 2.0 and JWT along with Interview questions and answers
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/udemycourse
Course Description Video :
yt.openinapp.co/dmjvd
Checkout Next Level By Unacademy nxtlvl.in/dctw
What Is OAuth All about?
It’s an open standard Or A Protocol for authorization .
Security -
Authentication - Who u are?
Authorization - What do u want ?
OAuth 2 is an authorization framework that enables applications - such as Facebook, Twitter- to obtain limited access to user accounts on an HTTP service.
It works by delegating user authentication to the service that hosts a user account and authorizing third-party applications to access that user account.
OAuth 2 provides authorization flows and not the authentication.
There are two versions of OAuth: OAuth 1.0a and OAuth 2.0. These specifications are completely different from one another, and cannot be used together: there is no backwards compatibility between them. OAuth 2.0 is the most widely used form of OAuth
How Oauth 2.0 works?
The application requests authorization to access service resources from the user
If the user authorized the request, the application receives an authorization grant
The application requests an access token from the authorization server (API) by presenting authentication of its own identity, and the authorization grant
If the application identity is authenticated and the authorization grant is valid, the authorization server (API) issues an access token to the application. Authorization is complete.
The application requests the resource from the resource server (API) and presents the access token for authentication
If the access token is valid, the resource server (API) serves the resource to the application
It is designed primarily as a means of granting access to a set of resources, for example, remote APIs or user data.
What are Scopes and Tokens?
Scopes and tokens are how OAuth implements granular access controls.
Together they represent a “permission to do something.” The token is the “permission” part and the scope defines what the “do something” is.
Think of a movie ticket: the scope is the name of the movie you are authorized to watch and the ticket itself is the token, which only a theater employee can validate as authenticate. Also tokens have expiration date. Similar to movie time written on movies ticket.
Access token also have scope information
There are four types of scopes:
Read Access
Write Access
Read and Write Access
No Access
What are grants?
Application grant types (or flows) are methods through which applications can gain Access Tokens and by which you grant limited access to your resources to another entity without exposing credentials.
Taking an example of movie ticket booking. You can get access to movie tickets by 2 ways
Walkin to theater and purchase from window
book online
These are 2 grants or flows. The method you’ve chosen dictates what you will do to obtain the ticket.
Similar is Grant types - ways to obtain access token
Oauth2 provides following Grants -
Client Credentials - Used for non-interactive applications e.g., automated processes, microservices, etc. In this case, the application is authenticated per se by using its client id and secret
Authorization Code - The Authorization Code flow might be used by Single Page Apps (SPA) like Angular applications. In such SPA, the client secret cannot be stored securely, and so authentication, during the exchange, is limited to the use of client id alone
Most Asked Core Java Interview Questions and Answers: • Core Java frequently a...
Advance Java Interview Questions and Answers: • Advance Java Interview...
Java 8 Interview Questions and Answers: • Java 8 Interview Quest...
Hibernate Interview Questions and Answers:
• Hibernate Interview Qu...
Spring Boot Interview Questions and Answers:
• Advance Java Interview...
Angular Playlist: • Angular Course Introdu...
SQL Playlist: • SQL Interview Question...
GIT: • GIT
Subscriber and Follow Code Decode
Subscriber Code Decode: ru-vid.com?...
LinkedIn : / codedecodeyoutube
Instagram: / codedecode25
#codedecode #intuit #tcs

Опубликовано:

 

16 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 101   
@arpitsik4649
@arpitsik4649 Год назад
We asked you delivered. Thats code decode for you all❤️💯
@CodeDecode
@CodeDecode Год назад
Thanks Arpit 🙂🙂🙏🙏
@mitsixty4011
@mitsixty4011 Год назад
@@CodeDecode hello Ma'am, I have a question, is spring security and auth2 same, can we use anyone of these for the security of application, can I say spring security instead of auth2
@lifeistooshort-alwaysbehappy
Truly You are an soldier who is helping many candidates in cracking their tech interviews and what I am today is because of your videos only.. Heartily Thanks a lot for your efforts and help .. Take care of your health and keep rocking ✨
@CodeDecode
@CodeDecode Год назад
Thanks a lot Naveen for such a beautiful comment. It made my day🙂🙂. It's your hardwork n dedication to learn which uplifted you Man 👏👏. Great job 💯👍👍👍👍keep learning keep shining Man 🎉🎉
@Priyakarthick4726
@Priyakarthick4726 Год назад
Very good and clear explanation on OAuth. Keep up the good work and provide the next version of this with code.
@mayureshkumbhar5355
@mayureshkumbhar5355 Год назад
I am eagerly waiting for this series to complete, please keep up the good work 👍👍👍
@CodeDecode
@CodeDecode Год назад
Sure Mayuresh 👍👍
@rahulshukla7883
@rahulshukla7883 Год назад
Thanks , Well explained and covered most of the okta and oauth2 parts in a single video 👏
@CodeDecode
@CodeDecode Год назад
Thanks Rahul 🙂
@chandrachurdafadar6809
@chandrachurdafadar6809 Год назад
Awesome demonstration of such complex architectures, thank you Code decode *\/*
@CodeDecode
@CodeDecode Год назад
You're welcome
@emmanuelgeorge1750
@emmanuelgeorge1750 Год назад
Thank you so much for sharing your knowledge. Your way of explanation is very clear, understandable and engaging. Every video you make is just awesome. You deserve a 1 million subscribers.👏👏👏👏👏👏
@CodeDecode
@CodeDecode Год назад
Thanks a ton😊😊❤️❤️
@rakeshkachhadiya
@rakeshkachhadiya Год назад
Well explained again. Waiting for OKTa and jwt decoding from server side. Thank you for bringing super valuable session
@CodeDecode
@CodeDecode Год назад
Sure Raakesh 👍
@swaruppal679
@swaruppal679 8 месяцев назад
I would like to take this opportunity to thank you very much as your content has helped me a lot in getting job in one my dream company. You have explained the concepts in an excellent way. Keep up the good work all the best!!
@CodeDecode
@CodeDecode 8 месяцев назад
😊😊 many many congratulations Swaruppal
@samsonrj5628
@samsonrj5628 Год назад
Great OAuth tutorial and explanation. Thank you.
@CodeDecode
@CodeDecode Год назад
Glad it was helpful!
@SenthilRajaM-se7rt
@SenthilRajaM-se7rt Год назад
Simply Awesome and mind blowing, great effort!!! Keep Rocking!!!
@CodeDecode
@CodeDecode Год назад
Thanks a lot🙂🙂
@152aliraza
@152aliraza 8 месяцев назад
Thank you so much for explaining, you are doing a great job.
@CodeDecode
@CodeDecode 8 месяцев назад
Thanks for appreciating
@DiegoFernandoRuizS
@DiegoFernandoRuizS 11 месяцев назад
Just awesome ❤ I really appreciate your explanation… 🙏🙏🙏 thanks
@CodeDecode
@CodeDecode 10 месяцев назад
You're welcome
@indlasubramanyam8766
@indlasubramanyam8766 Год назад
Thank you sis. No words to say 💕
@CodeDecode
@CodeDecode Год назад
Thanks 🙏🙂🙂🙂
@KamleshKumar-rj4re
@KamleshKumar-rj4re 7 месяцев назад
very good explaination and very helpful video for interview..... Thankyou mam
@codeloverAthu
@codeloverAthu 5 месяцев назад
Thanks mam for your continuous effort, your explanations are crystal clear and easy to understand. You are really a gem, thanks a ton ❤ God bless you all 🙏
@CodeDecode
@CodeDecode 5 месяцев назад
Thanks 🙏👍👍
@Amarsri19
@Amarsri19 5 месяцев назад
After Durga Mata and Kali Mata , you are the my Java Mata :).Thanks from bottom of my heart for the dedication you put in the explanation.
@CodeDecode
@CodeDecode 5 месяцев назад
😂Thanks ❤️
@vishaldhamde2013
@vishaldhamde2013 Год назад
That's very much in detail explanation. It would be helpful if you can explain and walk us through how to implement the coding part of it.
@CodeDecode
@CodeDecode Год назад
Sure Vishal 👍👍
@vinodkarathiyaofficial
@vinodkarathiyaofficial Год назад
Very Good Explanation Mam 🙌🏼
@CodeDecode
@CodeDecode Год назад
Thanks Vinod 🙂👍
@jainamdesai4230
@jainamdesai4230 Год назад
Thanks...very good explanation 👍👍💯
@CodeDecode
@CodeDecode Год назад
Thanks Jainam 👍👍
@bharukeerthi1986
@bharukeerthi1986 Год назад
Thanks. Very good explanation 🙏. And please make code walkthrough for this topic
@CodeDecode
@CodeDecode Год назад
Sure Keerthi 🙂👍
@arjun9059
@arjun9059 7 месяцев назад
You are Awesome and great explanation and take care
@CodeDecode
@CodeDecode 7 месяцев назад
Thanks
@shinchannohara1097
@shinchannohara1097 Год назад
Bro u save lives🙇
@CodeDecode
@CodeDecode Год назад
😁😁
@yuvrajsinghpanwar9699
@yuvrajsinghpanwar9699 2 месяца назад
Just awesome 🎉
@truthreveal6521
@truthreveal6521 Год назад
Great . It would be very beneficial if u make a small spring boot application with outh plz
@CodeDecode
@CodeDecode Год назад
Sure we will do that👍
@cdcaiza
@cdcaiza Год назад
muy buena explicacion
@CodeDecode
@CodeDecode Год назад
Thanks 🙂🙂
@muhassinmusthafa3379
@muhassinmusthafa3379 9 месяцев назад
Waiting for the day when u have a minimum 1M subscribers
@CodeDecode
@CodeDecode 9 месяцев назад
😊😊 means a lot to us 🙏🙏
@mrudulaalgam5864
@mrudulaalgam5864 Год назад
Thank you for this wonderful vide, please create implementation video as well.
@CodeDecode
@CodeDecode Год назад
sure we will create it soon
@jayalaxmirn9820
@jayalaxmirn9820 10 месяцев назад
Awesome explaination. Can you please make video on OIDC using spring boot
@CodeDecode
@CodeDecode 10 месяцев назад
Sure 👍
@murarkar-srikanth
@murarkar-srikanth Год назад
it is very useful video.Pls do a video on spring boot with okta thanks
@CodeDecode
@CodeDecode Год назад
sure we will create it soon
@sudheerkumar-tp1mg
@sudheerkumar-tp1mg Год назад
You are really great madam, 💖.
@CodeDecode
@CodeDecode Год назад
Thanks Sudheer 🙂🙂
@sudheerkumar-tp1mg
@sudheerkumar-tp1mg Год назад
I am always follow your site for interview questions and everything. Thanks is a very small word for your efforts madam.
@CodeDecode
@CodeDecode Год назад
Hope you land at your dream job Sudheer. Keep learning keep Rocking Man 👍👍🙂🙂
@sachida23
@sachida23 4 месяца назад
Thanks and great explanation ! Could you please spring security with Spring boot application with configuration with OKTA, Thank you.
@CodeDecode
@CodeDecode 4 месяца назад
Sure
@aditisingh6330
@aditisingh6330 7 месяцев назад
Please make part 3 complete videos on claims also 😊
@CodeDecode
@CodeDecode 7 месяцев назад
Sure we will create it soon
@pallabdutta2007
@pallabdutta2007 26 дней назад
very satisfied
@GAneshStudyGAng
@GAneshStudyGAng Год назад
Yes pls do
@CodeDecode
@CodeDecode Год назад
Sure Ganesh 👍
@Vithal_Nivargi
@Vithal_Nivargi Год назад
Hi Mam, Please implement Oauth 2 and JWT in spring boot application once because it's difficult to understand theory. Thank you 😊
@rahulchakrabarti7475
@rahulchakrabarti7475 Год назад
Can you please make the implementation video for oauth2 whatever you discussed?
@nurzamalislam177
@nurzamalislam177 Год назад
Yes implementation is very important
@CodeDecode
@CodeDecode Год назад
Sure Rahul. It's in pipeline 👍👍
@CodeDecode
@CodeDecode Год назад
So true 👍👍. Sure we will put video on that
@arunkumarp.r.6870
@arunkumarp.r.6870 Год назад
Thanks. Please create code implementation video.
@CodeDecode
@CodeDecode Год назад
sure we will create it soon
@HariKrishnan-ff4hf
@HariKrishnan-ff4hf 3 месяца назад
OAuth1 is deprecated ,But why we moved to oAuth 2 ?, what is the difference between OAuth 1 and OAuth2 ?
@saumilwaghela4543
@saumilwaghela4543 Год назад
Do make video on OIDC
@CodeDecode
@CodeDecode Год назад
Sure Saumil 👍👍
@lakshmipriyaalagiyamanaval3059
Please post a code walkthrough for the same...we are waiting
@CodeDecode
@CodeDecode Год назад
Sure LakshmiPriya 👍🙂
@jammulaiahp5256
@jammulaiahp5256 Год назад
Pls make next video with okta, oath2
@CodeDecode
@CodeDecode Год назад
sure we will create it soon
@sandysworld7529
@sandysworld7529 Год назад
Please Mam make a implementation video on oatuh2 and okta
@CodeDecode
@CodeDecode Год назад
Sure, we will try to incorporate your video in this week . 👍
@phanimadhuri4087
@phanimadhuri4087 9 месяцев назад
Where does the client app or browser saves this jwt token
@chandrasekhar4489
@chandrasekhar4489 Год назад
Please create video for implementation
@CodeDecode
@CodeDecode Год назад
Sure Chandra we will create it soon
@schaugala4017
@schaugala4017 Год назад
Please give the PDF link for the notes which you are referring to while teaching
@CodeDecode
@CodeDecode Год назад
Hey, I have referred multiple blogs sites .it's Not from one place. You can find every thing in description bar below 👍👍happy learning👍
@bharukeerthi1986
@bharukeerthi1986 Год назад
Please create video for oidc
@CodeDecode
@CodeDecode Год назад
Sure we will create a video on that soon 👍🙂
@cheruvupallianusha
@cheruvupallianusha Год назад
Please cover coding part for OAuth
@CodeDecode
@CodeDecode Год назад
Sure Anusha👍👍
@poojavishnupurikar9367
@poojavishnupurikar9367 Год назад
Yes please cover coding part for okta for spring/spring boot project
@rishiraj2548
@rishiraj2548 Год назад
🙏🙏👍
@CodeDecode
@CodeDecode Год назад
🙂🙂
Далее
The idea of ​​making a badge is so cute ❤️
00:44
ID Tokens VS Access Tokens: What's the Difference?
8:38
OAuth 2.0 - a dead simple explanation
9:16
Просмотров 13 тыс.
Spring Security Interview Questions & Answers
12:46
Просмотров 8 тыс.
OAuth 2.0 explained with examples
10:03
Просмотров 96 тыс.