OKTA-954373 - Update the registration inline hook guide#6201
Conversation
Acrolinx scoreA minimum Acrolinx Score of 80 is required. The total score is an average of the subscores.
Successfully checked 6 of 6 documents. Reopen the pull request or push new changes to check again. Depending on the Acrolinx server configuration, the |
| npm install express express-basic-auth express-validator dotenv | ||
| ``` | ||
|
|
||
| 1. In your `sample-app` folder, add a `.env` file to store the username and password used by the Okta hook call for Basic authentication. Add the following variables and values: |
There was a problem hiding this comment.
| 1. In your `sample-app` folder, add a `.env` file to store the username and password used by the Okta hook call for Basic authentication. Add the following variables and values: | |
| 1. In your `sample-app` folder, add a `.env` file to store the username and password used by the Okta hook call for basic authentication. Add the following variables and values: |
There was a problem hiding this comment.
We'll need to review this as a dev doc/info dev standards issue. I've generally used capital Basic because it's referencing a specific type of authentication scheme. However, a quick check of our repo sees all sorts of capitalization/non capitalization. For this doc, I'm going to stick with capital "B" because it forces the user, imo, to understand that it's HTTP Basic Authentication and that you need to reference "Basic" as part of the authorization header.
| }); | ||
| ``` | ||
|
|
||
| Add the following code to use Basic Authentication to validate the incoming call from Okta against the values in the `.env` file. See [HTTP header: Basic Authentication](/docs/guides/secure-hooks/nodejs/main/#http-header-basic-authentication). |
There was a problem hiding this comment.
| Add the following code to use Basic Authentication to validate the incoming call from Okta against the values in the `.env` file. See [HTTP header: Basic Authentication](/docs/guides/secure-hooks/nodejs/main/#http-header-basic-authentication). | |
| Add the following code to use basic authentication to validate the incoming call from Okta against the values in the `.env` file. See [HTTP header: Basic Authentication](/docs/guides/secure-hooks/nodejs/main/#http-header-basic-authentication). |
There was a problem hiding this comment.
See above
Acrolinx scoreA minimum Acrolinx Score of 80 is required. The total score is an average of the subscores.
Successfully checked 6 of 6 documents. Reopen the pull request or push new changes to check again. Depending on the Acrolinx server configuration, the |
Acrolinx scoreA minimum Acrolinx Score of 80 is required. The total score is an average of the subscores.
Successfully checked 6 of 6 documents. Reopen the pull request or push new changes to check again. Depending on the Acrolinx server configuration, the |
Acrolinx scoreA minimum Acrolinx Score of 80 is required. The total score is an average of the subscores.
Successfully checked 6 of 6 documents. Reopen the pull request or push new changes to check again. Depending on the Acrolinx server configuration, the |
Description:
Resolves:
Netlify Preview Link:
Preview