-
ms-identity-b2c-javascript-spa
Vanilla JavaScript single-page application calling a web API protected by Azure AD B2C
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I recommend starting with a simple sample, https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa, and get it working with logging in. The settings are spread out a bit in the sample. In apiConfig.js the b2cScopes need to be the full url form of the scopes you want to use, eg: https://[resourcedomain].onmicrosoft.com/[something]/access. You can find the exact name from the SPA config page API Permissions and clicking on the scope name. The "webApi" setting is the URL for your backend API.