Browser Extension Authentication - Wildfire Support Center

Browser Extension Authentication

Overview Overview

Before we get started, it's important to understand what a tracking code (TC) is and why it is used.

When a user installs your extension, we need a way to identify the user to affiliate when they activate cash back through your extension, in order to attribute them properly when the sale completes its lifecycle. This is done at Wildfire by attaching a TC query parameter at the end of your affiliate URL. Once the sale completes its lifecycle, you can retrieve the value within the TC parameter. By going into the admin tool, and posting the data to your callback URL.

Example of a vanity URL with a TC parameter:

https://wild.link/lovepop/AIuL-AI?tc=ee5f1a61-a2f1-4cde-be78-293fa339e592

Example of an offline vanity URL with a TC parameter:

https://wild.link/e?d=0&c=0&tc=2d4109a6-c5f6-4028-a206-c26b1379ea82&url=https://example.com

Authentication Details Authentication Details

Many extensions use different models, whether it's an OAuth flow, or logging in directly through the extension. They all serve the purpose of having the user identify themselves, and saving that identifier in the extension's storage. For this method we will leverage your existing authentication system. The extension will send the user to the partner's login page with a URI included as a query parameter.

Example of login URL

https://www.example.com/login?uri=chrome-extension%3A%2F%2Fextensionidhere%2Fauth.html

After the user is successfully authenticated the partner will redirect to the provided URI and include the user's UUID as a query parameter.

Example of redirect URL

chrome-extension://extensionidhere/auth.html?uuid=UUIDHERE

At this step the extension will store the UUID and include it as the tracking code on all affiliate link activations.

When passing a UUID ensure that each UUID is unique to a single user, does not change, and is a valid UUID. Each individual user should only have one UUID.

Sequence Diagram

Updated 17 Jun 2026

PREVIOUS\ How to Implement OAuth in a Chrome Extension
NEXT\ Detecting Presence of your Chrome Extension