@coveo/search-token-lambda
@coveo/search-token-lambda
npm i @coveo/search-token-lambda
@coveo/search-token-lambda

@coveo/search-token-lambda

A command-line interface to interact with the Coveo platform and quickly create Coveo Headless-powered search pages with Angular, React or Vue.js.

by coveo

1.35.13 (see all)License:Apache-2.0TypeScript:Not Found
npm i @coveo/search-token-lambda
Readme

Simple search token generation lamba function

An Netlify Function to generate Coveo search tokens.

Setup environment

Create the .env file at the root of this project using the .env.example file as starting point. Make sure to replace all placeholder variables (<...>) by the proper information for your organization. For more involved configurations, you can modify the request parameters used in the functions/token/generateToken.ts file.

Installation

npm install

Usage

npm start

This will start a server listening on port 9999. The app will return a Coveo search token when you make a GET request to the /.netlify/functions/token path. Every other path will respond with a 404 Not Found error.

Documentation

Search Token Authentication

A search token is a special JSON web token typically used to temporarily grant the privilege to execute queries as a specific user and log usage analytics events. To understand search tokens and how they work in more detail, visit the Search Token Authentication page.

Downloads/wk

217

GitHub Stars

11

LAST COMMIT

7mos ago

MAINTAINERS

16

CONTRIBUTORS

10

OPEN ISSUES

1

OPEN PRs

9
VersionTagPublished
1.35.13
latest
10d ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate