@michaelbeer01 Sometimes it became kind of depression for me..
He created Facebook at the age of around 20 and me still creating basic website Nodejs🥲😂
How does OAuth 2.0 work?
OAuth 2.0 is an authorization framework that enables applications to access a user’s data on another service (like Facebook or GitHub) without sharing the user’s password. It’s essentially a digital handshake between the app, service, and user, with everyone agreeing on what is shared.
Now that we’ve covered what it is, let’s dive into how it works.
The process generally follows 6 steps with 4 components typically involved:
🔸 Client (app wanting access)
🔸 Resource owner (user)
🔸 Authorization server
🔸 Resource server
To understand the process, let’s take a look at how a game would connect to a player’s Facebook account.
Step 1) Request access:
Within the game (client), the player (user) clicks on a “connect with Facebook” button to link their profile and find friends.
Step 2) Redirect to service:
The game redirects the player to Facebook’s (service’s) login page.
Step 3) Permission request:
After logging in, the data that the game is requesting access to will be shown to the player which they can either allow or deny.
Step 4) Authorization code:
If the player gives their approval, Facebook redirects the player back to the game with an authorization code (from authorization server). The code is a temporary credential that proves the player’s consent.
Step 5) Exchange code for token:
The game now sends the authorization code along with its own identification to Facebook’s server in the background. Facebook identifies the authorization code and the game’s identity and returns an access token.
Step 6) Use the token:
The game can now use the access token to request the agreed-upon data from Facebook (from the resource server), like the player's friends list.
In this process, the player’s Facebook credentials were never shared, but the game was able to access the agreed-upon player data from Facebook. This is what OAuth 2.0 facilitates; allowing third-party applications to access data from services in a secure manner without sharing credentials.
Hola Amigos!🙋♂🙋♀
Greetings from Walchand Linux Users' Group
"Wisdom is not a product of schooling but of the lifelong attempt to acquire it."
Walchand Linux Users' Group brings to you one such opportunity amidst your journey. We are presenting...
✨ METAMORPHOSIS 2023✨
Hello geeks 🙋🏼♂️
Greetings from 🐧Walchand Linux Users' Group🐧
Thank you everyone for joining us in the Seed Sowing Program🌱 and contributing towards giving back to our Mother Nature🌏
Hello everyone,
I am glad to say that I have completed my 5-day project named 'Task Manager', using Nodejs ,Express and MonogoDB. Here is link of repo plzz check it out..😊👍
Repo - https://t.co/y4uNZD1OhQ
#Nodejs#MonogoDB#webdev#webdeveloper
Hello geeks 🙋🏻🙋🏻♀️
Greetings from *Walchand Linux Users' Group*🐧
The results for *Distro Maestro* are here!
✨ *Distro Maestro*✨
Winner: *Team BLAZE*
Runner up: *Team Linux Maniacs*
Heartily Congratulations to all🥳🥳
Regards,
Walchand Linux Users' Group
https://t.co/ss3nR9MDbL