This repository demonstrates how to integrate idQ authentication into your Node.JS / Express web application.
- You need to have an idQ Developer account (https://beta.idquanta.com)
- Login to your Account Portal and issue OAuth2 credentials for the demo app See https://docs.idquanta.com for instructions on issuing OAuth2 credentials.
- Specify
http://localhost:8123/oauthcallback
as the Callback URL when creating your OAuth2 credentials.
- Clone this repository
- Configure your OAuth2 credentials in
idq-client.js
// OAuth 2.0 Client Configuration
var client_id = 'YOUR_CLIENT_ID';
var client_secret = 'YOUR_CLIENT_SECRET';
- Install dependencies
npm install
- Start the app
npm start
- Open http://localhost:8123 in your browser and click "Login with idQ"