Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

A front end client for Flight Passport

Notifications You must be signed in to change notification settings

openskies-sh/flight_passport_sample_client

Repository files navigation

Flight Passport Node Client

This is a sample front end for Flight Passport, using this you can log in to the application and get tokens for your application. This supports the Authorization Code grant.

Running the Sample

Install the dependencies.

npm install

Rename .env.example to .env and replace the values with your Flight Passport credentials. If you don't yet have one you can contact your administrator to issue accounts to you.

# copy configuration and replace with your own
cp .env.example .env

Run the app.

npm start

The app will be served at localhost:3000.

Credits

This repository is a fork of the Auth0 Node Client, I have modified it to use a generic OAUTH strategy using PassportJS and customized it for Flight Passport.