Adventures with Azure AD B2C: Authenticating React

I have a React app that I am trying to wire up to Azure AD B2C. I am using James Randall’s library react-azure-adb2c. Wiring it up was a snap, the document was straight-forward on this. When I ran the application I received an UnsupportAuthorityValidation JavaScript error in the console. This is a tracked issue at…

React and Environment Variables

Create-react-app 1.0.0 added support for automatically reading configuration files for the three pre-defined environments: development, test, and production. As before, default (lowest priority) values may be defined in .env, and the value of NODE_ENV is set automatically based on the script used: start → development test → test build → production The 1.0.0 release adds…