Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 751ad36

Browse files
author
derisen
committed
tokenRequest reference to apiConfig.b2cScpes
1 parent bc78cfc commit 751ad36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JavaScriptSPA/authConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ const loginRequest = {
2323

2424
// Add here scopes for access token to be used at the API endpoints.
2525
const tokenRequest = {
26-
scopes: ["https://fabrikamb2c.onmicrosoft.com/helloapi/demo.read"]
26+
scopes: apiConfig.b2cScopes, // e.g. ["https://fabrikamb2c.onmicrosoft.com/helloapi/demo.read"]
2727
};

0 commit comments

Comments
 (0)