Skip to content

Update sample to work with Heroku#2

Open
joelfranusic-okta wants to merge 2 commits into
mcguinness:masterfrom
jpf:master
Open

Update sample to work with Heroku#2
joelfranusic-okta wants to merge 2 commits into
mcguinness:masterfrom
jpf:master

Conversation

@joelfranusic-okta

Copy link
Copy Markdown
  • Read configuration from environment variables
  • Add support for "Deploy to Heroku" button

- Move config.js to config.json
- Specify node version in `package.json`
- Add `app.json` for Deploy to Heroku button
- Add `/welcome` route
Comment thread config.json
"issuer": "https://example.oktapreview.com",
"audience": "ANRZhyDh8HBFN5abN6Rg",
"apiToken": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"authzIssuer": "https://example.oktapreview.com/oauth2/aus8q4gst8vbUGzFp0h7",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't this be cleaned up by setting the issuer to your custom authorization server? I don't see why we need two issuers here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants