Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 646 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 646 Bytes

An example app showing how to use OneGraph's JWT.

Read more about using OneGraph JWT and express OneGraph AuthGuardian to visually configure your application security.

Running the example

To start the server, find your ONEGRAPH_APP_ID and run:

git clone https://github.com/OneGraph/onegraph-express-jwt-example.git
cd onegraph-express-jwt-example
yarn
ONEGRAPH_APP_ID="<your-app-id>" yarn start

You should be able to use any OneGraph-issued JWT to access http://localhost:8080/ now!