OAuth 2.0 - Authorization Code flow

preview_player
Показать описание
A short video describing how the OAuth 2.0 Authorization Code flow works. Find more info on oauth at my blog:
Please check my web site instead:

In addition, checkout my open source project that implements an OpenID Connect proxy server:

P.S.: thanks for the great comments!

If this video was helpful to you, please consider buying me a coffee:
Рекомендации по теме
Комментарии
Автор

Awesome video! Thank you for sharing your knowledge 🙏

Kili-mo-money
Автор

Thank you! Finally understood why do we need the authorization code!

FrequencyModulator
Автор

Very well explained, simplified the concept, thanks Sascha.

susmitdey
Автор

Very well detailed and clear. I now understood the flow. You are appreciated.

Jiji-lozs
Автор

Simple, concise and very very effective. Thanks a million!

joshli
Автор

What an amazing, well explained video... God bless you my friend!!! More power to you... Liking and subscribing right now...

expertreviews
Автор

I have been struggling to understand OAuth flow + parameters + Request Type in each comm.. This video clears all my doubts.. Great.. Pls share similar for PKCE SPA App

kalyankumar
Автор

thank your very much sir, great explanation !!

Matheuzrp
Автор

Excellent and concise explanation. Thanks!

ScorpionKZ
Автор

Simple plain and a good explanation!!! thanks a lot you saved me a lot of time!

abhishekchavan
Автор

Yes really helped! Thanks for comprehensive explanation!

priyankachougule
Автор

Smooth explanation. You’re an absolute gangster.

kacy
Автор

Good explanation. But for better detail, you could mention that the auth code + clientID+ client Secret happens between app server side to Google. Otherwise, it gives an impression to the viewer that client ID and client Secret stay on the client-side.

SubtleAsh-TheImmortal
Автор

What I haven't understood is: why the authorization code?, why not send client_id+ secrete to Google then get back a token?. What's the essence of the middle step?

jameseze
Автор

I've a few questions about this
1. How does the first part of the flow change when a user is returning to the site and the client already has a valid auth token.
2. If the token is stored on the client, how does the client know which user that token relates to?
3. If the auth server and the resource server are separate, how do they each know that a token is valid? (session? )

DMoots
Автор

nice explanation, could you tell what is the difference between auth code flow and implicit flow?

olegsuprun
Автор

Hello Sascha. These videos are really useful to understand the flows. Just two questions...
1. In this flow, does the access token gets stored in the browser and the browser makes the requests to google? (in this example let's say with JS) or does the web server is the one that must make always the requests?
2. Also, where do you store the refresh token? Is it something that you can store in the browser side or do I need to have a database with a refresh_token <-> user relation? I don't get at all this last part of where to store the refresh token.

Thanks :D

Dogezi
Автор

Can all this be achieved just via APIs and no UI interaction like where the user clicks "Allow"..

vikash
Автор

Thank you. All have saw your entire oauth and openid series video, all are awesome, could you please covered security in oauth and openid in your upcoming video.. P.S could you please share your presentation slidedesk.just for reference

amolgangurde
Автор

Thanks Sascha, Though it helped me to understand the AZ_Code flow but I am bit confused about the SSO part using authorization_code. How can two different client applications can use authorization_code flow to participate in SSO. Will the same procedure applies to any number of clients for successful SSO ?

deepakchanalia
welcome to shbcf.ru