Skip to main content

Set up Authentication

To interact with the OpenSauced public API as an authenticated user, you need to obtain an authentication token. The following steps outline how to obtain an authentication token from the website:

  1. Click on your avatar in the top right corner of the page. This will open a dropdown menu.

    Avatar in top right corner of the page

  2. Click on the Print Auth Token option. Don't worry, this is a safe operation. The token is only printed to the console.

    Print Auth Token

  3. Copy the token that is printed to the console.

    Token printed to the console

  4. You can now use this token to make authenticated requests to the OpenSauced public API by including it in the Authorization header of your requests. For example:

    const response = await fetch("", {
    method: "GET",
    headers: {
    Authorization: `Bearer ${token}`,