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: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ This sample demonstrates the following **MSAL Node** concepts:
35
35
|`AppCreationScripts/`| Contains Powershell scripts for automating app registration. |
36
36
|`App/authProvider.js`| Main authentication logic resides here. |
37
37
|`App/main.js`| Application main process. |
38
-
|`App/fetch.js`|Axios HTTP client for calling endpoints with a bearer token.|
38
+
|`App/graph.js`|Instantiates Graph SDK client. |
39
39
|`App/renderer.js`| Renderer processes and UI methods. |
40
40
|`App/constants.js`| Example user accounts in JSON . |
41
41
|`App/preload.js`| Give the Renderer process controlled access to some Node API.|
@@ -62,6 +62,15 @@ This sample demonstrates the following **MSAL Node** concepts:
62
62
1. In the **Redirect URIs** section enter the following redirect URI `http://localhost`
63
63
1. Select **Configure**.
64
64
65
+
##### Configure Optional Claims
66
+
67
+
1. Still on the same app registration, select the **Token configuration** blade to the left.
68
+
1. Select **Add optional claim**:
69
+
1. Select **optional claim type**, then choose **ID**.
70
+
1. Select the optional claim **login_hint**.
71
+
> An opaque, reliable login hint claim. This claim is the best value to use for the login_hint OAuth parameter in all flows to get SSO.See $[optional claims](https://docs.microsoft.com/azure/active-directory/develop/active-directory-optional-claims) for more details on this optional claim.
72
+
1. Select **Add** to save your changes.
73
+
65
74
#### Step 2: Clone the repository
66
75
67
76
Clone this repository `git clone https://github.com/Azure-Samples/ms-identity-javascript-nodejs-desktop.git`
0 commit comments