A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/passport/express-4.x-http-bearer-example below:

passport/express-4.x-http-bearer-example: Express 4.x app using Passport for authentication via HTTP Bearer scheme.

This example demonstrates how to use Express 4.x and Passport to authenticate users via the HTTP Bearer scheme. Use this example as a starting point for your own web applications.

To install this example on your computer, clone the repository and install dependencies.

$ git clone git@github.com:passport/express-4.x-http-bearer-example.git
$ cd express-4.x-http-bearer-example
$ npm install

Start the server.

Use curl to send an authenticated request.

$ curl -v -H "Authorization: Bearer 123456789" http://127.0.0.1:3000/


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4