bitcoin
bitcoin

$91781.001646 USD

-2.98%

ethereum
ethereum

$3200.585370 USD

-3.21%

tether
tether

$1.000043 USD

0.03%

xrp
xrp

$2.264953 USD

-3.85%

bnb
bnb

$683.196990 USD

-1.55%

solana
solana

$183.899002 USD

-6.53%

dogecoin
dogecoin

$0.318446 USD

-6.47%

usd-coin
usd-coin

$1.000166 USD

0.01%

cardano
cardano

$0.898248 USD

-4.68%

tron
tron

$0.238357 USD

-4.65%

avalanche
avalanche

$35.928029 USD

-4.40%

sui
sui

$4.686120 USD

-1.70%

toncoin
toncoin

$5.156878 USD

-2.99%

chainlink
chainlink

$19.500834 USD

-4.42%

shiba-inu
shiba-inu

$0.000021 USD

-1.52%

Cryptocurrency News Video

OAuth2 0 Flow Step by Step | Authorization Technique | Day 9 | Interview Question

Jan 09, 2025 at 10:45 am PrinceAutomationDestination

What is ๐Ž๐€๐ฎ๐ญ๐ก๐Ÿ.๐ŸŽ : This is an ๐€๐ฎ๐ญ๐ก๐จ๐ซ๐ข๐ณ๐š๐ญ๐ข๐จ๐ง mechanism ๐ง๐จ๐ญ ๐€๐ฎ๐ญ๐ก๐ž๐ง๐ญ๐ข๐œ๐š๐ญ๐ข๐จ๐ง mechanism ๐Ž๐š๐ฎ๐ญ๐ก stands for ๐Ž๐ฉ๐ž๐ง ๐€๐ฎ๐ญ๐ก๐จ๐ซ๐ข๐ณ๐š๐ญ๐ข๐จ๐ง as this is open standard ๐Ž๐š๐ฎ๐ญ๐ก๐Ÿ.๐ŸŽ is ๐ฉ๐ซ๐จ๐ญ๐จ๐œ๐จ๐ฅ or we can call it a ๐…๐ซ๐š๐ฆ๐ž๐ฐ๐จ๐ซ๐ค as well ๐๐ฎ๐ซ๐ฉ๐จ๐ฌ๐ž: Oauth2.0 is used to ๐š๐ฎ๐ญ๐ก๐จ๐ซ๐ข๐ณ๐ž ๐Ÿ‘๐ซ๐ ๐ฉ๐š๐ซ๐ญ๐ฒ ๐š๐ฉ๐ฉ๐ฅ๐ข๐œ๐š๐ญ๐ข๐จ๐ง๐ฌ to access ๐ซ๐ž๐ฌ๐จ๐ฎ๐ซ๐œ๐ž๐ฌ of user on behalf of User ๐‘๐จ๐ฅ๐ž๐ฌ in OAuth2.0: 1. ๐‘๐ž๐ฌ๐จ๐ฎ๐ซ๐œ๐ž ๐Ž๐ฐ๐ง๐ž๐ซ: Person who owns the resources 2. ๐‚๐ฅ๐ข๐ž๐ง๐ญ: 3rd party application that want to access Resource owner resources. So, it should have the Access token of the Resource owner 3. ๐€๐ฎ๐ญ๐ก๐จ๐ซ๐ข๐ณ๐š๐ญ๐ข๐จ๐ง ๐’๐ž๐ซ๐ฏ๐ž๐ซ: Authorization server helps client obtaining access token of Resource owner 4. ๐‘๐ž๐ฌ๐จ๐ฎ๐ซ๐œ๐ž ๐’๐ž๐ซ๐ฏ๐ž๐ซ: Once the client has Access Token it can use the access token to access Resource owners protected resources. How ๐Ž๐š๐ฎ๐ญ๐ก๐Ÿ.๐ŸŽ flow ๐ฐ๐จ๐ซ๐ค๐ฌ? โญ First Client should be ๐ซ๐ž๐ ๐ข๐ฌ๐ญ๐ž๐ซ๐ž๐ against OAuth server to obtain client id and client secret โญ Now client will make ๐€๐ฎ๐ญ๐ก๐จ๐ซ๐ข๐ณ๐š๐ญ๐ข๐จ๐ง ๐‘๐ž๐ช๐ฎ๐ž๐ฌ๐ญ to Authorization server with client id and client secret โญ Now ๐‘๐ž๐ฌ๐จ๐ฎ๐ซ๐œ๐ž ๐จ๐ฐ๐ง๐ž๐ซ need to enter credentials to ๐€๐ฎ๐ญ๐ก๐จ๐ซ๐ข๐ณ๐ž ๐Ÿ‘๐ซ๐ ๐ฉ๐š๐ซ๐ญ๐ฒ ๐š๐ฉ๐ฉ๐ฅ๐ข๐œ๐š๐ญ๐ข๐จ๐ง๐ฌ to access Resource Owner resources โญ Once Resource owner grant the permission, Authorization server will issue ๐€๐ฎ๐ญ๐ก๐จ๐ซ๐ข๐ณ๐š๐ญ๐ข๐จ๐ง ๐œ๐จ๐๐ž based on Grant Type โญNow, client need to hit Token end point to obtain ๐€๐œ๐œ๐ž๐ฌ๐ฌ ๐“๐จ๐ค๐ž๐ง by passing Authorization Code received in previous step โญWith Access Token client can now access protected ๐‘๐ž๐ฌ๐จ๐ฎ๐ซ๐œ๐ž๐ฌ of Resource owner ๐†๐ซ๐š๐ง๐ญ ๐“๐ฒ๐ฉ๐ž๐ฌ: -Way of getting Access Token from Authorization Server ๐Ÿ. ๐€๐ฎ๐ญ๐ก๐จ๐ซ๐ข๐ณ๐š๐ญ๐ข๐จ๐ง ๐‚๐จ๐๐ž: Server issues auth code and auth code is used to get access token ๐Ÿ. ๐ˆ๐ฆ๐ฉ๐ฅ๐ข๐œ๐ข๐ญ: Server issues access token directly ๐Ÿ‘. ๐‘๐ž๐ฌ๐จ๐ฎ๐ซ๐œ๐ž ๐Ž๐ฐ๐ง๐ž๐ซ: Authorization server issues Access token directly with resource owner credentials ๐Ÿ’. ๐‚๐ฅ๐ข๐ž๐ง๐ญ ๐‚๐ซ๐ž๐๐ž๐ง๐ญ๐ข๐š๐ฅ๐ฌ: Client credentials are used to get Access token from Authorization Server Let us meet in video Regards PrinceAutomationDestination
Video source๏ผšYoutube

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research๏ผ

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Other videos published on Jan 10, 2025