This project consists of a backend server and a React Native app that demonstrate best practices for developing a Twilio Programmable Voice application.
1.x
.The Twilio Voice React Native Reference App implements Auth0 to demonstrate login flow for authenticating and authorizing users. Sign in to your Auth0 account and follow the steps below.
Create a new Auth0 Native
app from the Auth0 user console, then enter your desired Name
Navigate to the settings tab of your newly created Auth0 Application. You will now need to fill out the fields labeled Allowed Callback Urls
and Allowed Logout Urls
. Depending on your use case enter the iOS format, Android format, or both.
Allowed Callback Url format iOS
org.reactjs.native.example.twiliovoicereactnativereferenceapp.auth0://{YourDomain}/ios/org.reactjs.native.example.twiliovoicereactnativereferenceapp/callback
Allowed Callback Url format Android
com.twiliovoicereactnativereferenceapp.auth0://{YourDomain}/android/com.twiliovoicereactnativereferenceapp/callback
Allowed Logout Url format iOS
org.reactjs.native.example.twiliovoicereactnativereferenceapp.auth0://{YourDomain}/ios/org.reactjs.native.example.twiliovoicereactnativereferenceapp/callback
Allowed Logout Url format Android
com.twiliovoicereactnativereferenceapp.auth0://{YourDomain}/android/com.twiliovoicereactnativereferenceapp/callback
Create a new Auth0 API
from the Auth0 user console, then enter your desired Name
and Identifier
.
A React Native application under:
app/
A backend server under:
server/
Please see the README.md
files within each sub-folder for more information about that component.
See docs/e2e-testing.md if you plan to e2e test your fork of this app.
See docs/known-issues.md for details on known issues and workarounds.
See LICENSE