You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/tutorial-single-page-app-webapi.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,15 +105,15 @@ To change the settings in the SPA:
105
105
1. In the [active-directory-b2c-javascript-msal-singlepageapp][github-js-spa] project you downloaded or cloned in the previous tutorial, open the *apiConfig.js* file inside the *JavaScriptSPA* folder.
106
106
1. Configure the sample with the URI for the *demo.read* scope you created earlier and the URL of the web API.
107
107
1. In the `apiConfig` definition, replace the `b2cScopes` value with the full URI for the *demo.read* scope (the **Scope** value you recorded earlier).
108
-
1. Change the `webApi` value to the redirect URI you added when you registered the web API application in an earlier step.
108
+
1. Change the domain in the `webApi` value to the redirect URI you added when you registered the web API application in an earlier step. Because the API is accessible at the `/hello` endpoint, leave */hello* in the URI.
109
109
110
110
The `apiConfig` definition should look similar to the following code block, but with your B2C tenant's name in the place of`<your-tenant-name>`:
111
111
112
112
```javascript
113
113
// The current application coordinates were pre-registered in a B2C tenant.
0 commit comments