This article provides information on adding an authentication to a function.
In this article:
Functions require authentication to access some service providers, such as Facebook or Google. You can add authentication to a function in the Advanced tab of the Tealium Functions code editor. When you add an authentication, an access token is returned, which the function then uses to make requests from the service. The token is typically a string of characters that is used to identify a user or an application. Tealium functions must provide an authentication token to make API calls to Facebook or Google. To get an authentication token, you need an account with the service provider.
The steps for adding an authentication vary depending on the authentication selected. The following sections provide instructions for adding each available authentication type.
Log in to Facebook before adding a Facebook authentication.
Before you add OAuth 2.0 authentication, open your OAuth API provider settings in a different browser tab or window and add a new application for your OAuth integration with Tealium Functions.
The steps for Establish Connection vary for each grant type. The following sections describe these steps for each grant type.
Authentications that are assigned to a function or to a connector cannot be deleted.