Duration
3 min
Access
Pro
Transcript
Available

Now that we have a serverless function to generate a Twilio token, we need to use it.

In this lesson, we'll use axios within our custom React hook to request and store a token from the serverless Twilio function. The generated token will be used to protect routes that require authentication within Gatsby.