Practice notes: Registering and configuring a SPA application with adal.js