This repository provides an example HID client application written in Javascript, using Node.JS and the openid-client library.
- Make sure you have a valid user account on the HID dev environment
- Run the application using
node index.js - Point your browser to http://localhost:3000. The application should redirect you to the login page on the HID dev environment.
- Log in using your user account
- You should be redirected to localhost, and should see the information retrieved from HID (user account in your browser, access token and refresh tokens in your console...)