Terra provides two methods of authenticating a user to allow you to begin receiving their data - widget-based authentication and rest-based authentication.
The Terra Widget provides a plug-and-play authentication solution with very little code required in order to integrate it into your application. The Widget provides an optimised authentication flow that has the same process for every provider. This is the recommended way to allow users to connect their fitness accounts to your applications. For more see Widget.
The REST-based authentication flow relies on you making a request to the Authenticate User endpoint in order to generate a user ID and authentication redirect URL which you must send the user to from your application in order to complete the authentication flow. For more see REST Authentication.