Skip to content

openskies-sh/flight_passport_oidc_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.