Skip to content

Commit

Permalink
Update to oidc-middleware@3
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongranick-okta committed Jan 13, 2020
1 parent be8974a commit 63c34f2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ You will need two Okta applications, one Web app and one SPA app. Save the clien

The Web app needs a couple of settings in the Developer console:
Add a `Login redirect URI`: `http://localhost:8080/authorization-code/callback`
Add a `Logout redirect URI`: `http://localhost:8080/logout/callback`
Add a `Logout redirect URI`: `http://localhost:8080`

You will also need credentials for a test user.

Expand Down
3 changes: 1 addition & 2 deletions custom-login/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Before running this sample, you will need the following:

* An Okta Developer Account, you can sign up for one at https://developer.okta.com/signup/.
* An Okta Application, configured for Web mode. This is done from the Okta Developer Console and you can find instructions [here][OIDC Web Application Setup Instructions]. When following the wizard, use the default properties. They are designed to work with our sample applications.
* Your Okta Application entry needs the logout callback. "Logout redirect URIs" under "General" for the application should list `http://localhost:8080/logout/callback`. If it is not present, click "Edit" and add it.

* Your Okta Application entry needs the logout callback. "Logout redirect URIs" under "General" for the application should list `http://localhost:8080`. If it is not present, click "Edit" and add it.

## Running This Example

Expand Down
2 changes: 1 addition & 1 deletion okta-hosted-login/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Before running this sample, you will need the following:

* An Okta Developer Account, you can sign up for one at https://developer.okta.com/signup/.
* An Okta Application, configured for Web mode. This is done from the Okta Developer Console and you can find instructions [here][OIDC Web Application Setup Instructions]. When following the wizard, use the default properties. They are designed to work with our sample applications.
* Your Okta Application entry needs the logout callback. "Logout redirect URIs" under "General" for the application should list `http://localhost:8080/logout/callback`. If it is not present, click "Edit" and add it.
* Your Okta Application entry needs the logout callback. "Logout redirect URIs" under "General" for the application should list `http://localhost:8080`. If it is not present, click "Edit" and add it.


## Running This Example
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@okta/samples-nodejs-express-4",
"description": "Express-4 Sample Applications for Okta",
"version": "3.0.0",
"version": "3.1.0",
"repository": {
"type": "git",
"url": "https://github.com/okta/samples-nodejs-express-4.git"
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"@okta/jwt-verifier": "1.0.0",
"@okta/oidc-middleware": "^2.1.0",
"@okta/oidc-middleware": "^3.0.0",
"colors": "^1.1.2",
"cors": "^2.8.4",
"express": "^4.14.0",
Expand Down

0 comments on commit 63c34f2

Please sign in to comment.