Coder Social home page Coder Social logo

hmhco / durinsdoor Goto Github PK

View Code? Open in Web Editor NEW
0.0 22.0 0.0 26 KB

A sample node express application that interacts with OpenId Connect and shows how to use HMH's public apis

License: MIT License

JavaScript 84.33% CSS 4.85% HTML 10.32% Shell 0.51%

durinsdoor's Introduction

Durins Door

A sample node express application that interacts with OpenId Connect and shows how to use HMH's public apis

Configure and Run

git clone [email protected]:hmhco/durinsdoor.git
cd durinsdoor
npm install

Get your client ID and secret from the developer portal

https://developer.hmhco.com

For use with the sample app you will want to create an application with a localhost redirect uri.

Configure

These env specific values are dynamically replaced during deployment (see jenkins config)

Configure app.js

In the app's root directory, locate a file named app.js and set client_id, client_secret and oidc_base_url at the top of the file.

Configure api.js

In {app_root_dir}/routes/api.js, set vnd_hmh_api_key and api_base_url at the top of the file.

Run the app

DEBUG=durinsdoor:server npm start

The app will run on localhost:3000

More

Authentication Flow

durinsdoor's People

Contributors

reyesk avatar kreso avatar goodgoblin avatar

Watchers

Anton Whalley avatar  avatar James Cloos avatar  avatar  avatar  avatar Jeff Stolz avatar Mark Thomas avatar Joe Ravgiala avatar  avatar  avatar Ashlinn Brennan avatar John H Huebner avatar  avatar  avatar  avatar Colm O'Flaherty avatar  avatar Julie Wei avatar Daniel Burke avatar  avatar Jonathan O'Donovan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.