Skip to content

Commit

Permalink
Merge pull request #4 from dancinnamon-okta/add-server
Browse files Browse the repository at this point in the history
Minor updates post-release.
  • Loading branch information
TomLoomis-Evernorth authored Dec 20, 2023
2 parents d6d4782 + b980c4a commit fdc8f40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ node_modules/
*.pfx
.vscode/
udap_servers.json
*.pem
*.key
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ After you run the app, the first thing you will be presented with is the Add Ser
## Known Issues
- The Add Server form does not use client side validation. Once that is added the check on the server side can be removed.
- Console.debug statements with TODO comments should not be inlcuded in production applications.
- The UI does not support delete or edit registration presently.

## Getting Help

Expand Down
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ app.post('/saveserver', async (req, res) => {
//Instantiate new clients for this server
udapClientB2b = await getUdapClientAndMetaData(privateKeyFilename, privateKeyPassword, trustAnchorFilename, udapServer.ccClientId, udapServer.serverBaseUrl, organizationId, organizationName, purposeOfUse)
udapClientB2c = await getUdapClientAndMetaData(privateKeyFilename, privateKeyPassword, trustAnchorFilename, udapServer.authCodeClientId, udapServer.serverBaseUrl, organizationId, organizationName, purposeOfUse)
mustAddServer = false
res.redirect("/")
}
}
Expand Down

0 comments on commit fdc8f40

Please sign in to comment.