A minimal OP with no configuration, just a client to verify the deployment
- Clone the repo
git clone https://github.com/panva/node-oidc-provider-example.git my-provider
cd my-provider
- Create a heroku app
heroku create --addons securekey,heroku-redis:hobby-dev
- Enable (unavailable) runtime-dyno-metadata workaround
heroku config:set X_HEROKU_REMOTE=`git remote get-url heroku`
- Copy the minimal setup
cp 00-oidc-minimal/index.js src
- Commit to your local repo
git add .
git commit -a -m 'my initial commit'
- Deploy to heroku
git push heroku master
- Done!
heroku open '/.well-known/openid-configuration' # to see your openid-configuration
heroku open '/auth?client_id=foo&response_type=code&scope=openid' # to start your first Authentication Request
You should see a login screen promting you to enter any login and password, after doing so your Request will be resolved and you will be redirected to lvh.me (your localhost) with an authorization_code in the query.
Next up 01-oidc-configured