Examining the Short-Lived Access Token
Understand the details of the short-lived access token with "Login with Facebook".
We'll cover the following...
The next step in the flow: the access token
In the last lesson, we walked through the Facebook authorization flow. Just before that, we had set up our “Login with Facebook” button, which is the starting point for your users in going through the flow. At the time, you clicked on the “Login with Facebook” button, and you logged in with your Facebook credentials and saw some JSON data output to the screen, with an accessToken
included in it.
Now that we have walked through the authorization flow, you see why getting that accessToken
is an important step for moving along in this flow.
Authorization flow: You are here.
You will recall from our diagram of the Facebook authorization flow in the previous lesson that we (Facebook) have just redirected our user back to our Facebook app, and handed our app an access token. The diagram below shows the step in the flow where we are.
What you are (figuratively) holding in your hand is an access ...