Skip to content

Commit 1456e2f

Browse files
committed
Rewrite code samples README
1 parent 7c42e21 commit 1456e2f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

1-Authentication/5-sign-in-express/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ You can now test the sample Node.js web app. You need to start the Node.js serve
245245

246246
> :information_source: If the sample didn't work for you as expected, reach out to us using the [GitHub Issues](../../../../issues) page.
247247

248-
## We'd love your feedback!
248+
## We'd love your feedback
249249

250250
Were we successful in addressing your learning objective? Consider taking a moment to [share your experience with us](https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR_ivMYEeUKlEq8CxnMPgdNZUNDlUTTk2NVNYQkZSSjdaTk5KT1o4V1VVNS4u).
251251

@@ -295,7 +295,6 @@ In order to use MSAL Node, we instantiate the [ConfidentialClientApplication](ht
295295

296296
The first leg of auth code flow generates an authorization code request URL, then redirects to that URL to obtain the authorization code. This first leg is implemented in the `redirectToAuthCodeUrl` method. Notice how we use MSALs [getAuthCodeUrl](https://learn.microsoft.com/javascript/api/%40azure/msal-node/confidentialclientapplication?view=azure-node-latest#@azure-msal-node-confidentialclientapplication-getauthcodeurl) method to generate authorization code URL, then redirect to the authorization code URL itself:
297297

298-
299298
```javascript
300299
async redirectToAuthCodeUrl(req, res, next, authCodeUrlRequestParams, authCodeRequestParams, msalInstance) {
301300
...
@@ -363,7 +362,6 @@ There is one web app in this sample. To deploy it to **Azure App Services**, you
363362
- Publish the projects to the **App Services**, and
364363
- Update its client(s) to call the website instead of the local environment.
365364

366-
367365
#### Deploy your files of your web app
368366

369367
1. In the **VS Code** activity bar, select the **Azure** logo to show the **Azure App Service** explorer.

0 commit comments

Comments
 (0)