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
{{ message }}
This repository has been archived by the owner. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,8 +171,29 @@ Your resulting code should look as follows:
171
171
5. Click on the **Call Web API** and see the textual representation of the JSON object that is returned. Make sure your Node.js Web API sample is still running on port 5000.
172
172
6. Sign out by clicking the **Logout** button.
173
173
174
+
## Optional
175
+
- [Configure application to use b2clogin.com](https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-b2c-overview#configure-application-to-use-b2clogincom)
176
+
- The MSAL.js library allows you to pass [login_hint parameter](https://docs.microsoft.com/en-us/azure/active-directory-b2c/direct-signin) in the [AuthenticationParameters object](https://docs.microsoft.com/en-us/javascript/api/msal/authenticationparameters?view=azure-node-latest), using `loginHint` attribute.
177
+
```JavaScript
178
+
var loginRequest = {
179
+
scopes: appConfig.b2cScopes,
180
+
loginHint: "someone@contoso.com"
181
+
};
182
+
```
183
+
- You can pass any custom query string parameter in the [AuthenticationParameters object](https://docs.microsoft.com/en-us/javascript/api/msal/authenticationparameters?view=azure-node-latest), using `extraQueryParameters` attribute. Following sample sets the campaignId that can be used in the [Azure AD B2C UI](https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-ui-customization-custom-dynamic), and the [ui_locales](https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-language-customization) set to es (Spanish).
For more information on Azure B2C, see [the Azure AD B2C documentation homepage](http://aka.ms/aadb2c).
193
+
For more information on Azure B2C, see:
194
+
- [Azure AD B2C documentation homepage](http://aka.ms/aadb2c)
195
+
- [Microsoft authentication library for js Wiki](https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki)
196
+
- [Integrate Microsoft Authentication Library (MSAL) with Azure Active Directory B2C](https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-b2c-overview)
176
197
177
198
## Community Help and Support
178
199
We use Stack Overflow with the [msal](https://stackoverflow.com/questions/tagged/msal) and [azure-ad-b2c](https://stackoverflow.com/questions/tagged/azure-ad-b2c) tags to provide support. We highly recommend you ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before. Make sure that your questions or comments are tagged with [msal.js].
0 commit comments