Skip to content

Commit 369b028

Browse files
authored
Merge pull request #101090 from sameerag/patch-1
Update quickstart with the correct variable name for `redirectUri`
2 parents 55ed3e9 + 25d3357 commit 369b028

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/active-directory/develop/quickstart-v2-javascript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
6060
6161
> [!div class="sxs-lookup" renderon="portal"]
6262
> #### Step 1: Configure your application in the Azure portal
63-
> For the code sample for this quickstart to work, you need to add a redirect URI as `http://localhost:30662/` and enable **Implicit grant**.
63+
> For the code sample for this quickstart to work, you need to add a `redirectUri` as `http://localhost:30662/` and enable **Implicit grant**.
6464
> > [!div renderon="portal" id="makechanges" class="nextstepaction"]
6565
> > [Make these changes for me]()
6666
>
@@ -166,7 +166,7 @@ var msalConfig = {
166166
auth: {
167167
clientId: "Enter_the_Application_Id_here",
168168
authority: "https://login.microsoftonline.com/Enter_the_Tenant_Info_Here",
169-
redirectURI: "http://localhost:30662/"
169+
redirectUri: "http://localhost:30662/"
170170
},
171171
cache: {
172172
cacheLocation: "localStorage",
@@ -181,7 +181,7 @@ var myMSALObj = new Msal.UserAgentApplication(msalConfig);
181181
> |---------|---------|
182182
> |`clientId` | The application ID of the application that's registered in the Azure portal.|
183183
> |`authority` | (Optional) The authority URL that supports account types, as described previously in the configuration section. The default authority is `https://login.microsoftonline.com/common`. |
184-
> |`redirectURI` | The application registration's configured reply/redirect URI. In this case, `http://localhost:30662/`. |
184+
> |`redirectUri` | The application registration's configured reply/redirectUri. In this case, `http://localhost:30662/`. |
185185
> |`cacheLocation` | (Optional) Sets the browser storage for the auth state. The default is sessionStorage. |
186186
> |`storeAuthStateInCookie` | (Optional) The library that stores the authentication request state that's required for validation of the authentication flows in the browser cookies. This cookie is set for IE and Edge browsers to mitigate certain [known issues](https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/Known-issues-on-IE-and-Edge-Browser#issues). |
187187

0 commit comments

Comments
 (0)